Dela via


Altimeter.GetDefault Method

Definition

Returns the default altimeter sensor.

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

Returns

The default altimeter.

Remarks

If no barometer sensor is available, this method will return the null pointer.

Applies to