How It Fires Vibration in My Device

Asked

Viewed 78 times

3

How Vibrator fires in my Windows Phone 8.1 app ?

For example :

 if(==0)
 {
 VIBRAR APARELHO;
 }

1 answer

2

You can use the command VibrateController as in the example below:

import Microsoft.Devices

VibrateController testVibrateController = VibrateController.Default;

if(Vibrar = true)
{
    testVibrateController.Start(TimeSpan.FromSeconds(3));
    testVibrateController.Stop();
}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.