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.