Magnetic Field Sensor

Non-Visible component
Category Requires Version
Sensors API 19, Android 4.4 - 4.4.4 KitKat 1

Overview

Non-visible component that measures the ambient geomagnetic field for all three physical axes (x, y, z) in Tesla https://en.wikipedia.org/wiki/Tesla_(unit).

Events

Magnetic Changed

Indicates that the magnetic sensor data has changed.

Params
x Strength Number
y Strength Number
z Strength Number
absolute Strength Number

Properties

Absolute Strength

Number ➖ Read - Blocks

Available

Boolean ➖ Read - Blocks

Enabled

Boolean Default: True ➖ Read Write - Designer Blocks

Maximum Range

Number ➖ Read - Blocks

X Strength

Number ➖ Read - Blocks

Y Strength

Number ➖ Read - Blocks

Z Strength

Number ➖ Read - Blocks


Last update: January 27, 2020