SpeedInfoState
data class SpeedInfoState(val currentSpeed: Int? = null, val maxSpeedLimit: Int? = null, val isExceedingSpeedLimit: Boolean = false, val cameraProgress: CameraProgressInfo? = null)
State object containing all speed-related information for the navigation UI.
Properties
Link copied to clipboard
Information about nearby speed camera and progress towards it, null if no camera nearby
Link copied to clipboard
Current in km/h, null if speed data unavailable
Link copied to clipboard
Whether current speed exceeds the maximum speed limit
Link copied to clipboard
Maximum allowed speed limit in km/h for current road segment, null if no limit