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

  • filter is not supported.

Android Quirks

  • No support for filter.

Tizen Quirks

  • No support for filter.

Windows Phone 7 and 8 Quirks

  • No support for filter.