Returns the default accelerometer.
public:
static Accelerometer^ GetDefault()
Type: Accelerometer
The default accelerometer or null if no accelerometers are found.
This method only returns values for an accelerometer 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