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
open fun addOnLocationUpdateListener(listener: <Error class: unknown class>)
Link copied to clipboard
open fun close()

Cancels the unfinished work and removes all registered OnLocationUpdateListeners.

Link copied to clipboard
open fun disable()

Stops location updates.

Link copied to clipboard
open fun enable()

Starts location updates.

Link copied to clipboard
open fun removeOnLocationUpdateListener(listener: <Error class: unknown class>)

Properties

Link copied to clipboard
open val lastKnownLocation: <Error class: unknown class>?
Link copied to clipboard