NavigatorVibration

@native @JSType
trait NavigatorVibration extends Object
class Object
trait Any
class Object
trait Matchable
class Any
class Navigator

Value members

Concrete methods

def vibrate(duration: Double): Boolean

Vibrate the device for the specified number of milliseconds.

Vibrate the device for the specified number of milliseconds.

def vibrate(pattern: Array[Double]): Boolean

Vibrate the device in the given pattern.

Vibrate the device in the given pattern.

Value parameters:
pattern

the pattern to vibrate. The first number is the initial duration, the subsequent a delay of silence, and so on.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object