This version of the documentation is outdated!
Click here for the latest released version.
compassOptions
An optional parameter to customize the retrieval of the compass.
Options
-
frequency: How often to retrieve the compass heading in milliseconds. (Number) (Default: 100)
-
filter: The change in degrees required to initiate a watchHeading success callback. (Number)
Amazon Fire OS Quirks
filteris not supported.
Android Quirks
- No support for
filter.
Tizen Quirks
- No support for
filter.
Windows Phone 7 and 8 Quirks
- No support for
filter.