IosHeadingProvider

Device heading provider backed by CLLocationManager.

A nonnegative CLHeading.trueHeading maps to HeadingMeasurement.bearing with HeadingReference.TrueNorth. Otherwise, CLHeading.magneticHeading maps to HeadingMeasurement.bearing with HeadingReference.MagneticNorth. A negative CLHeading.headingAccuracy marks the heading as invalid. The provider ignores that callback. A valid accuracy maps to HeadingMeasurement.accuracy.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun updates(request: HeadingRequest = HeadingRequest()): ERROR CLASS: Symbol not found for Flow<org/maplibre/compose/location/HeadingMeasurement>

Returns a cold stream of headings.