public:
static Compass^ GetDefault()
Type: Compass
The default compass or null if no integrated compasses are found.
This method only returns values for a compass that has been integrated into the computer by the manufacturer. A null value will be returned if the specified sensor is not available in the system.
Namespace: Windows.Devices.Sensors
Metadata: windows.winmd