Vibration Class

Definition

Provides an easy way to make the device vibrate.

public static class Vibration
Inheritance
System.Object
Vibration

Methods

Cancel()

Cancel any current vibrations.

Vibrate()

Vibrate the device fo 500ms.

Vibrate(Double)

Vibrate the device for the specified number of milliseconds in the range [0, 5000].

Vibrate(TimeSpan)

Vibrate the device for the specified time in the range [0, 5000]ms.

Applies to