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)
Android Quirks ______
- filter is not supported.
Windows Phone 7 and 8 Quirks
- filter is not supported.
Bada Quirks
- filter is not supported.
Tizen Quirks
- filter is not supported.