Share via


VibrationDevice.GetDeviceSelector Method

Definition

Returns the class selection string that you can use to enumerate vibration devices.

public:
 static Platform::String ^ GetDeviceSelector();
 static winrt::hstring GetDeviceSelector();
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String

Returns

String

Platform::String

winrt::hstring

The class selection string for vibration devices.

Remarks

You can enumerate vibration devices by passing the class selection string returned by the GetDeviceSelector() method to FindAllAsync() or CreateWatcher() method.

Applies to

See also