MTLocationManager

class MTLocationManager(context: Context, minTimeMs: Long = 1000, minDistanceM: Float = 0.0f)

Class responsible for location updates.

This manager uses the platform LocationManager and calls delegate callbacks on the main thread. Runtime permission requests must be handled by the app; use hasLocationPermission to check state.

Constructors

constructor(context: Context, minTimeMs: Long = 1000, minDistanceM: Float = 0.0f)

Functions

Returns true if coarse or fine location permission is granted.

Starts the location updates.

Stops the location updates.