Skip to content

Index of Module magnetometer

Walt K edited this page Apr 18, 2020 · 2 revisions

Module: magnetometer

Access magnetic orientation sensor readings on Android and iOS devices.

Functions in this module:

Function Short Description
(magnetometer-x) Returns X magnetic field value (uT)
(magnetometer-y) Returns Y magnetic field value (uT)
(magnetometer-z) Returns Z magnetic field value (uT)

For more see: https://developer.android.com/reference/android/hardware/SensorEvent#values https://developer.apple.com/documentation/coremotion/cmmagnetometerdata/1616084-magneticfield

Clone this wiki locally