Builder

actual class Builder

Builder for creating a LocationMonitor

Parameters

applicationContext

the Context in which to monitor the location

locationManager

the LocationManager to use for monitoring the location

actual class Builder

Builder for creating a LocationMonitor

expect class Builder

Builder for creating a LocationMonitor

actual class Builder

Builder for creating a LocationMonitor

Constructors

Link copied to clipboard
constructor(applicationContext: Context = ApplicationHolder.applicationContext, locationManager: LocationManager? = applicationContext.getSystemService(Context.LOCATION_SERVICE) as? LocationManager)
constructor(locationManager: CLLocationManager = CLLocationManager())
constructor()

Properties

Link copied to clipboard
val locationManager: CLLocationManager

Functions

Link copied to clipboard
actual fun create(): LocationMonitor

Creates the LocationMonitor

actual fun create(): LocationMonitor

Creates the LocationMonitor

expect fun create(): LocationMonitor

Creates the LocationMonitor

actual fun create(): LocationMonitor

Creates the LocationMonitor