Inclinometer.GetDefault Method

Returns the default inclinometer.

Syntax

public:
static Inclinometer^ GetDefault()  

Return value

Type: Inclinometer 

The default inclinometer or null if no inclinometers are found.

Remarks

This method only returns values for hardware that has been integrated into the computer by the manufacturer. (The inclinometer readings are derived from multiple sensors.) A null value will be returned if the specified sensor is not available in the system.

When a system is in Connected Standby, a call to the GetDefault method will return immediately with a null result.

Requirements

Namespace: Windows.Devices.Sensors

Metadata: windows.winmd

See also

Reference

Inclinometer Class

Inclinometer Members

Windows.Devices.Sensors Namespace