- Overview
- The Command-line Interface
- Platform Guides
- Configuration Reference
- Embedding WebViews
- Plugin Development Guide
- Privacy Guide
- Domain Whitelist Guide
- Accelerometer
- Camera
- Capture
- Compass
- Connection
- Contacts
- Device
- Events
- File
- Geolocation
- Globalization
- InAppBrowser
- Media
- Notification
- Splashscreen
- Storage
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.
Tizen Quirks
filter
is not supported.
Windows Phone 7 and 8 Quirks
filter
is not supported.