C# Class Cimbalino.Phone.Toolkit.Services.VibrationService

Represents an implementation of the IVibrationService.
Inheritance: IVibrationService
Afficher le fichier Open project: Cimbalino/Cimbalino-Phone-Toolkit

Méthodes publiques

Méthode Description
Start ( ) : void

Vibrates the device for 200 milliseconds.

Start ( System.TimeSpan duration ) : void

Vibrates the device for the specified duration.

Start ( double duration ) : void

Vibrates the device for the specified duration in milliseconds.

Stop ( ) : void

Stops vibrating the device.

Method Details

Start() public méthode

Vibrates the device for 200 milliseconds.
public Start ( ) : void
Résultat void

Start() public méthode

Vibrates the device for the specified duration.
public Start ( System.TimeSpan duration ) : void
duration System.TimeSpan The duration to vibrate the device.
Résultat void

Start() public méthode

Vibrates the device for the specified duration in milliseconds.
public Start ( double duration ) : void
duration double The duration in milliseconds to vibrate the device.
Résultat void

Stop() public méthode

Stops vibrating the device.
public Stop ( ) : void
Résultat void