Androd WebView page by calling JS Andrews ringtones and vibration

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/a462575515/article/details/80780904

Interface Description:

alert.Beep ();
ringing tones default short

alert.Shake (1000);
Vibration
parameters:
duration Int millseconds vibration milliseconds

alert.BeepAndShake (1000);
motion + ring
parameters:

When vibration long Int millseconds, in milliseconds

Examples Demo

Guess you like

Origin blog.csdn.net/a462575515/article/details/80780904