Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The IVibrateService allows a developer to start and stop vibration of the device via a service.

Table of Contents

Platform info

FrameworkSupported
WPFImage Removed
Silverlight 5Image Removed
Windows Phone 8.0Image Removed
Windows Phone 8.1Image Removed
Windows RT 8.0Image Removed
Windows RT 8.1Image Removed
AndroidImage Removed
iOSImage Removed
Test/emulation serviceImage Removed

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.

...