Share via


Magnetometer.GetDefault Method

Definition

Returns the default magnetometer.

public:
 static Magnetometer ^ GetDefault();
 static Magnetometer GetDefault();
public static Magnetometer GetDefault();
function getDefault()
Public Shared Function GetDefault () As Magnetometer

Returns

The default magnetometer.

Applies to