Inclinometer.GetDeviceSelector(SensorReadingType) Inclinometer.GetDeviceSelector(SensorReadingType) Inclinometer.GetDeviceSelector(SensorReadingType) Inclinometer.GetDeviceSelector(SensorReadingType) Inclinometer.GetDeviceSelector(SensorReadingType) Method

Definition

Gets the device selector.

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

Parameters

readingType
SensorReadingType SensorReadingType SensorReadingType

The type of sesnsor to retrieve.

Returns

string string string

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

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)