IosLocationPermissionRequester

Foreground Core Location permission holder.

IosLocationProvider delegates LocationProvider.permission and LocationProvider.requestPermission to an instance of this class. Use it directly when a custom provider needs the same Core Location permission behavior.

CLAuthorizationStatus maps an authorized status to LocationPermission.Granted, notDetermined to LocationPermission.NotGranted with canRequest = true, denied or restricted to canRequest = false, and an unrecognized value to canRequest = null. CLLocationManager.accuracyAuthorization distinguishes precise from approximate grants.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val status: ERROR CLASS: Symbol not found for StateFlow<org/maplibre/compose/location/LocationPermission>

Current foreground location permission, updated when Core Location reports a change.

Functions

Link copied to clipboard

Starts a foreground permission request and returns immediately. The result is published to status.