SimulationLocationProvider
An implementation of LocationProvider that simulates location updates for testing purposes. Allows the specification of a strategy that determines how locations will be returned.
Properties
Link copied to clipboard
The last known location, or null if no location has been determined yet.
Link copied to clipboard
An instance of SimulationStrategy that simulates the location updates.
Functions
Link copied to clipboard
Adds an OnLocationUpdateListener which informs about new GeoLocation each time a location change occurs.
Link copied to clipboard
Cancels the unfinished work and removes all registered OnLocationUpdateListeners.
Link copied to clipboard
Removes previously registered OnLocationUpdateListener.