Application:vibrate: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| 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't support vibration, this function has no effect.<br /> | Vibrates the device. If the device doesn'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 12: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