summaryrefslogtreecommitdiff
path: root/doc/base/classes.xml
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-05-29 18:37:33 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-05-29 18:37:33 +0200
commit96bdab6edfb2834a07add23cd3892a599ee9bfa4 (patch)
tree925f53859c34f0fe92f54a9901def5c8077359dd /doc/base/classes.xml
parenta2fee794591c09be9f1c625eee0df60977fb1e95 (diff)
parent8d69e1b6205b0f7073129873b2b8f809e6d25c2b (diff)
Merge pull request #4845 from vnen/pr-magnetometer
Add magnetometer sensor support for Android
Diffstat (limited to 'doc/base/classes.xml')
-rw-r--r--doc/base/classes.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 561d62649d..4893f0c483 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -15387,6 +15387,13 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
If the device has an accelerometer, this will return the movement.
</description>
</method>
+ <method name="get_magnetometer">
+ <return type="Vector3">
+ </return>
+ <description>
+ If the device has a magnetometer, this will return the magnetic field strength in micro-Tesla for all axes.
+ </description>
+ </method>
<method name="get_mouse_speed" qualifiers="const">
<return type="Vector2">
</return>