Magnetometer.GetCurrentReading Magnetometer.GetCurrentReading Magnetometer.GetCurrentReading Magnetometer.GetCurrentReading Magnetometer.GetCurrentReading Method

Definition

Gets the current magnetometer reading.

public : MagnetometerReading GetCurrentReading()
MagnetometerReading GetCurrentReading() const;
public MagnetometerReading GetCurrentReading()
Public Function GetCurrentReading() As MagnetometerReading
var magnetometerReading = magnetometer.getCurrentReading();

Returns

The current magnetometer reading.