From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-vibration/index.html | 42 ++++++++++++++++++++++ .../-vibration/vibrate.html | 18 ++++++++++ 2 files changed, 60 insertions(+) create mode 100644 api1/pl.treksoft.kvision.cordova/-vibration/index.html create mode 100644 api1/pl.treksoft.kvision.cordova/-vibration/vibrate.html (limited to 'api1/pl.treksoft.kvision.cordova/-vibration') diff --git a/api1/pl.treksoft.kvision.cordova/-vibration/index.html b/api1/pl.treksoft.kvision.cordova/-vibration/index.html new file mode 100644 index 00000000..ac43ce1e --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-vibration/index.html @@ -0,0 +1,42 @@ + + + +Vibration - kvision + + + +kvision / pl.treksoft.kvision.cordova / Vibration
+
+

Vibration

+object Vibration +

Main object for Cordova vibration.

+

Functions

+ + + + + + + +
+

vibrate

+
+fun vibrate(vararg pattern: Int): Unit +

Generate a vibration with a given pattern.

+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api1/pl.treksoft.kvision.cordova/-vibration/vibrate.html b/api1/pl.treksoft.kvision.cordova/-vibration/vibrate.html new file mode 100644 index 00000000..6099a521 --- /dev/null +++ b/api1/pl.treksoft.kvision.cordova/-vibration/vibrate.html @@ -0,0 +1,18 @@ + + + +Vibration.vibrate - kvision + + + +kvision / pl.treksoft.kvision.cordova / Vibration / vibrate
+
+

vibrate

+ +fun vibrate(vararg pattern: Int): Unit +

Generate a vibration with a given pattern.

+

Parameters

+

+pattern - a pattern - sequence of durations (in milliseconds) for which to turn on or off the vibrator.

+ + -- cgit