Difference between revisions of "Application:vibrate"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Vibrates the device. If the device doesn&#039;t support vibration, this function has no effect.<br />
 
Vibrates the device. If the device doesn&#039;t support vibration, this function has no effect.<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Application:vibrate(ms)
 
  Application:vibrate(ms)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''ms''': (number) time in ms for vibration, if supported by the platform. (Android) '''optional'''<br/>
+
'''ms''': (number) <translate>time in ms for vibration, if supported by the platform. (Android)</translate> '''optional'''<br/>

Revision as of 13:35, 23 August 2018

Available since: Gideros 2011.6

Description


Vibrates the device. If the device doesn't support vibration, this function has no effect.

 Application:vibrate(ms)

Parameters

ms: (number) time in ms for vibration, if supported by the platform. (Android) optional