Application:vibrate: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Vibrates the device. If the device doesn't support vibration, this function has no effect...."
 
m Text replacement - "<source" to "<syntaxhighlight"
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
'''Class:''' [[Application]]<br/>
=== Description ===
=== Description ===
<br />
Vibrates the device. If the device doesn't support vibration, this function has no effect.
Vibrates the device. If the device doesn&#039;t support vibration, this function has no effect.<br />
 
<br />
<syntaxhighlight lang="lua">
<source lang="lua">
application:vibrate(ms)
= Application:vibrate(ms,)
</syntaxhighlight>
</source>
 
'''ms:''' (number) time in ms for vibration, if supported by the platform. (Android) '''optional'''<br/>
=== Parameters ===
'''ms''': (number) time in ms for vibration, if supported by the platform. (Android) '''optional''' <br/>
 
{{Application}}

Latest revision as of 15:46, 12 July 2023

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