Application:vibrate: Difference between revisions
From GiderosMobile
No edit summary |
m →Description: fixed some html tags |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<languages /> | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6 | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/> | <br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]] | |||
<br/> | |||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate> | <translate>Vibrates the device. If the device doesn't support vibration, this function has no effect.</translate> | ||
Vibrates the device. If the device doesn | |||
<source lang="lua"> | <source lang="lua"> | ||
application:vibrate(ms) | |||
</source> | </source> | ||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''ms''': (number) <translate>time in ms for vibration, if supported by the platform. (Android)</translate> '''optional'''<br/> | '''ms''': (number) <translate>time in ms for vibration, if supported by the platform. (Android)</translate> '''optional''' | ||
<br/> | |||
<br/> | |||
Revision as of 00:31, 13 June 2019
Available since: Gideros 2011.6
Class: Application
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