Package-level declarations

Types

Link copied to clipboard

The accuracy of a Location.

Link copied to clipboard

Streams device location updates and exposes the last known Location.

Link copied to clipboard
data class LocationManagerOptions(val accuracy: LocationAccuracy = LocationAccuracy.BALANCED, val distanceFilter: Double = 10.0, val updateInterval: Long)

Configuration options for a LocationManager.

Functions

Link copied to clipboard
fun createLocation(latitude: Double, longitude: Double): Location

Creates a new fake Location.

Link copied to clipboard
fun createLocationManager(options: LocationManagerOptions = LocationManagerOptions()): LocationManager

Creates a new LocationManager with the given LocationManagerOptions.