MainCLLocationManagerAccessor

class MainCLLocationManagerAccessor(onInit: <Error class: unknown class>.() -> Unit)

Accessor to ensure a CLLocationManager is only managed from the Main Thread. Use updateLocationManager to gain access to the LocationManager

Parameters

onInit

callback to modify the CLLocationManager after it is initialized

Constructors

Link copied to clipboard
constructor(onInit: <Error class: unknown class>.() -> Unit)

Functions

Link copied to clipboard
suspend fun <T> updateLocationManager(update: suspend <Error class: unknown class>.() -> T): T