LocationManager
Types
Events detected by LocationManager
Properties
A Flow of all the Event detected by the location manager
The LocationPermission used for managing this location. If LocationPermission.precise this will scan location at high accuracy If LocationPermission.background this will monitor location from the background
A Flow of the Location.KnownLocation detected by the location manager
Functions
If true
the location service is currently enabled
Attempts to request the user to enable the location service
Starts monitoring for new Location.KnownLocation that will be emitted on the locations flow
Starts monitoring for changes related to the location service being enabled This will result in Event.LocationEnabled and Event.LocationDisabled on the events flow
Starts monitoring for changes to permissions related to locationPermission This will result in Event.PermissionChanged on the events flow
Stops monitoring for new Location.KnownLocation
Stops monitoring for changes related to the location service being enabled
Stops monitoring for changes to permissions related to locationPermission