Back

Vibrate

Vibrates the device with a given pattern. The vibrate pattern is passed in as a text parameter with comma separated integer values given in milliseconds with this format: pause, vibrate, pause, vibrate.

app.Vibrate( pattern )

Example - Example



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

string - comma separated