create

fun create(strategy: SimulationStrategy, adjustToCurrentTime: Boolean = false): LocationProvider

Create a new instance of LocationProvider.

Parameters

strategy

Simulation strategy to use.

adjustToCurrentTime

Whether to use the current time (true), or whether to use the timestamps provided by the strategy (false) when issuing the location notification.