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

Represents an implementation of the IVibrationService.
Inheritance: IVibrationService
显示文件 Open project: Cimbalino/Cimbalino-Phone-Toolkit

Public Methods

Method 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 method

Vibrates the device for 200 milliseconds.
public Start ( ) : void
return void

Start() public method

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

Start() public method

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

Stop() public method

Stops vibrating the device.
public Stop ( ) : void
return void