Dela via


ActivitySensor.GetDeviceSelector Method

Definition

Gets the device selector.

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

Returns the device selector, if it exists; otherwise, null.

Applies to