magnetometerSensor

val magnetometerSensor: <Error class: unknown class>

Gets magnetometer sensor being used to obtain measurements, or null if not available. This can be used to obtain additional information about the sensor.