setCurrentSpeed

fun setCurrentSpeed(currentSpeed: Speed, speedUnit: UnitSystem)

Sets the current speed.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

currentSpeed

current speed.

speedUnit

unit in which the current speed is expressed.