Magnetic Field Sensor¶
Non-Visible component| Category | Requires | Version |
|---|---|---|
| Sensors | API 21, Android 5.0 Lollipop | 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
Property for AbsoluteStrength
Available¶
Boolean Read - Blocks
Property for Available
Enabled¶
Boolean Default: True Read Write - Designer Blocks
Property for Enabled
Maximum Range¶
Number Read - Blocks
Property for MaximumRange
X Strength¶
Number Read - Blocks
Property for Xstrength
Y Strength¶
Number Read - Blocks
Property for Ystrength
Z Strength¶
Number Read - Blocks
Property for Zstrength