Vibration Class

Definition

Provides an easy way to make the device vibrate.

public static class Vibration
Inheritance
Vibration

Remarks

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