Back

Vibrate

The Vibrate method vibrates the phone/tablet with a given pattern.

 app.Vibrate( pattern );

The vibrate pattern is passed in as a text parameter with comma seperated integer values given in milliseconds with this format:

  pause,vibrate,pause,vibrate...

Example

function OnStart()
{
  app.Vibrate( "0,100,30,100,50,300" );
}
  Copy   Copy All    Run