DeviceVibration
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid
Provides methods to vibrate the client device.
- C#
- VB.NET
public class DeviceVibration
Public Class DeviceVibration
Access this class through the Device singleton.
Constructors
DeviceVibration()
Initializes a new instance of DeviceVibration.
Methods
Cancel()
Cancel any current vibrations.
Vibrate(milliseconds)
Vibrates the device for the specified time in the range [0, 5000]ms.
| Parameter | Type | Description |
|---|---|---|
| milliseconds | Int32 | The time to vibrate for. This value will be ignored on iOS as it only supports 500ms |