location.MTLocationManager
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.
Properties
Functions
Returns true if coarse or fine location permission is granted.
@RequiresPermission(anyOf = ["android.permission.ACCESS_COARSE_LOCATION", "android.permission.ACCESS_FINE_LOCATION"] )
Requests location only once and calls MTLocationManagerDelegate.didUpdateLocation.
@RequiresPermission(anyOf = ["android.permission.ACCESS_COARSE_LOCATION", "android.permission.ACCESS_FINE_LOCATION"] )
Starts the location updates.
Stops the location updates.