Windows Dev Center

VibrationDevice.GetDefault | getDefault method

Gets an instance of the VibrationDevice class.

Syntax


var vibrationDevice = Windows.Phone.Devices.Notification.VibrationDevice.getDefault();

Parameters

This method has no parameters.

Return value

Type: VibrationDevice

The default VibrationDevice instance.

Requirements (Windows 10 device family)

Device family

Mobile

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.Devices.Notification
Windows::Phone::Devices::Notification [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Devices.Notification
Windows::Phone::Devices::Notification [C++]

Metadata

Windows.WinMD

See also

VibrationDevice

 

 

Show:
© 2015 Microsoft