@@ -22,18 +22,20 @@ Example:
2222put mobileCurrentHeading() into theHeading
2323
2424Returns:
25- If heading tracking has been enabled the <mobileCurrentHeading> funtion
26- returns an array with the following keys: accuracy - The maximum
27- deviation (measured in degrees) between the reported heading and true
28- geomagnetic heading. The lower the value, the more accurate the reading.
29- magnetic heading - The heading (measured in degrees) relative to
25+ If heading tracking has been enabled the <mobileCurrentHeading> function
26+ returns an array with the following keys:
27+ - "accuracy": The maximum deviation (measured in degrees) between the
28+ reported heading and true geomagnetic heading. The lower the value,
29+ the more accurate the reading.
30+ - "magnetic heading": The heading (measured in degrees) relative to
3031magnetic north. true heading - The heading (measured in degrees)
3132relative to true north. If the true heading could not be calculated
3233(usually due to heading tracking not being enabled, or lack of
33- calibration), this key will not be present. heading - The true heading
34- if available, otherwise the magnetic heading. x, y, z - The geomagnetic
35- data (measured in microteslas) for each of the x, y and z axes.
36- timestamp - The time at which the measurement was taken, in seconds
34+ calibration), this key will not be present.
35+ - "heading": The true heading if available, otherwise the magnetic
36+ heading. x, y, z - The geomagnetic data (measured in microteslas) for
37+ each of the x, y and z axes.
38+ - "timestamp": The time at which the measurement was taken, in seconds
3739since 1970.
3840
3941Description:
0 commit comments