SimulationLocationProvider

An implementation of LocationProvider that simulates location updates for testing purposes. Allows to specify strategy which determines how locations will be returned.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
open override fun close()

Cancels the unfinished work and removes all registered OnLocationUpdateListeners.

Link copied to clipboard
open override fun disable()

Stops location updates.

Link copied to clipboard
open override fun enable()

Starts location updates.

Link copied to clipboard

Properties

Link copied to clipboard
open override val lastKnownLocation: GeoLocation?
Link copied to clipboard