VibrationDevice.GetDeviceSelector Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.