Altimeter.GetCurrentReading Altimeter.GetCurrentReading Altimeter.GetCurrentReading Altimeter.GetCurrentReading Altimeter.GetCurrentReading Method

Definition

Gets the current reading for the altimeter.

public : AltimeterReading GetCurrentReading()
AltimeterReading GetCurrentReading() const;
public AltimeterReading GetCurrentReading()
Public Function GetCurrentReading() As AltimeterReading
var altimeterReading = altimeter.getCurrentReading();

Returns

The current alititude reading for this sensor.

Remarks

It is important to note that the altitude reading for this sensor is not the absolute altitude. Rather, this API is designed to determine the change in elevation between readings.