IosOrientationProvider

class IosOrientationProvider(updateInterval: ERROR CLASS: Symbol not found for Duration, coroutineScope: ERROR CLASS: Symbol not found for CoroutineScope, sharingStarted: ERROR CLASS: Symbol not found for SharingStarted = SharingStarted.WhileSubscribed(stopTimeoutMillis = 1000)) : OrientationProvider(source)

Device heading provider backed by CLLocationManager.

A nonnegative CLHeading.trueHeading maps to Orientation.orientation; otherwise the provider uses CLHeading.magneticHeading. A nonnegative CLHeading.headingAccuracy maps to BearingWithAccuracy.accuracy.

Constructors

Link copied to clipboard
constructor(updateInterval: ERROR CLASS: Symbol not found for Duration, coroutineScope: ERROR CLASS: Symbol not found for CoroutineScope, sharingStarted: ERROR CLASS: Symbol not found for SharingStarted = SharingStarted.WhileSubscribed(stopTimeoutMillis = 1000))

Properties

Link copied to clipboard
open override val orientation: ERROR CLASS: Symbol not found for StateFlow<org/maplibre/compose/location/Orientation?>

The latest heading, or null before one is available.