SimpleOrientationSensor.GetDeviceSelector SimpleOrientationSensor.GetDeviceSelector SimpleOrientationSensor.GetDeviceSelector SimpleOrientationSensor.GetDeviceSelector SimpleOrientationSensor.GetDeviceSelector Method

Definition

Retrieves an Advanced Query Syntax (AQS) string used to enumerate the available SimpleOrientationSensor devices.

public : static Platform::String GetDeviceSelector()
static winrt::hstring GetDeviceSelector() const;
public static string GetDeviceSelector()
Public Shared Function GetDeviceSelector() As string
var string = Windows.Devices.Sensors.SimpleOrientationSensor.getDeviceSelector();

Returns

string string string

The device selector, if it exists; otherwise, null.

Additional features and requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)