The IVibrateService allows a developer to start and stop vibration of the device via a service.
Table of Contents |
---|
Platform info
Framework | Supported |
---|---|
WPF | |
Silverlight 5 | |
Windows Phone 8.0 | |
Windows Phone 8.1 | |
Windows RT 8.0 | |
Windows RT 8.1 | |
Android | |
iOS | |
Test/emulation service |
Starting vibration
To start the vibration, use the following code (will vibrate for 250 ms). Note that the time span must be between 0 and 5 seconds.
...