User Tools

Site Tools


built_in:vibrate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:vibrate [2015/03/21 17:10]
madlyr [Description]
built_in:vibrate [2015/03/22 01:10]
Line 1: Line 1:
-=====Vibrate===== 
  
-//(Information and examples taken from the DroidScript documentation)// 
- 
-====Description==== 
- 
-The **Vibrate** method vibrates the phone/tablet with a given **pattern**.  
- 
-<code> app.Vibrate( pattern );</code> 
- 
-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... 
- 
----- 
-====Example==== 
- 
-<code javascript> 
- 
-function OnStart() 
-{ 
-  app.Vibrate( "0,100,30,100,50,300" ); 
- 
- 
-</code> 
built_in/vibrate.txt ยท Last modified: 2015/03/22 01:10 (external edit)