GoogleLocationProvider
class GoogleLocationProvider(context: Context, settings: GoogleLocationProvider.Settings, minUpdateDistanceMeters: Float) : LocationProvider
A LocationProvider using the Google Location Services
Parameters
context
The Context to run this LocationProvider in.
settings
The GoogleLocationProvider.Settings to use to configure this location provider.
minUpdateDistanceMeters
The minimum distance in meters traversed for a location update to be reported.
Constructors
Link copied to clipboard
constructor(context: Context, settings: GoogleLocationProvider.Settings, minUpdateDistanceMeters: Float)
Types
Functions
Link copied to clipboard
Gets a Flow providing updates to the Location.KnownLocation
Link copied to clipboard
Starts monitoring for Location.KnownLocation with a given LocationPermission
Link copied to clipboard
Stops monitoring for Location.KnownLocation with a given LocationPermission