InterpolationStrategy

fun InterpolationStrategy(locations: List<GeoLocation>, broadcastDelay: Duration = BROADCAST_DELAY, startDelay: Duration = START_DELAY, currentSpeedInMetersPerSecond: Double = SPEED_METERS_PER_SECOND)

Parameters

locations

List of locations to be emitted.

startDelay

Delay before second location is emitted.

broadcastDelay

Delay before emission of consecutive locations.