Package-level declarations
Types
Link copied to clipboard
interface Geolocator
Provides geolocation operations:
Link copied to clipboard
Represents the result of a geolocation operation.
Link copied to clipboard
class LocationRequest(val priority: Priority = Priority.Balanced, val interval: Long = 5000, val maximumAge: Long = 0)
Represents a request for location updates.
Link copied to clipboard
A no-op Locator that is used when the platform does not support geolocation.
Link copied to clipboard
Defines a Locator that requires a permission to check location.
Link copied to clipboard
Represents the current status of a Geolocator tracking operation.
Functions
Link copied to clipboard
Gets the current location or null if the location is not available.
Link copied to clipboard
Create a new Geolocator using the provided locator and dispatcher.
Link copied to clipboard
Check if the current Geolocator has the permissions required for geolocation.
Link copied to clipboard
Check if the current GeolocatorResult is a GeolocatorResult.PermissionDenied.
Link copied to clipboard
Check if the current GeolocatorResult is a GeolocatorResult.PermissionDenied.