aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.cordova/-vibration/vibrate.html
blob: 6099a521701b7d36a24ded56f45dfa1baea15bc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Vibration.vibrate - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="index.html">Vibration</a>&nbsp;/&nbsp;<a href="./vibrate.html">vibrate</a><br/>
<br/>
<h1>vibrate</h1>
<a name="pl.treksoft.kvision.cordova.Vibration$vibrate(kotlin.IntArray)"></a>
<code><span class="keyword">fun </span><span class="identifier">vibrate</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.cordova.Vibration$vibrate(kotlin.IntArray)/pattern">pattern</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Generate a vibration with a given pattern.</p>
<h3>Parameters</h3>
<p><a name="pattern"></a>
<code>pattern</code> - a pattern - sequence of durations (in milliseconds) for which to turn on or off the vibrator.</p>
</BODY>
</HTML>