SpeedLimit

Speed limit including the speed value and type.

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

Constructors

Link copied to clipboard
constructor(speed: Speed)

Creates a SpeedLimit instance that represents limited speed with the given speed.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
value class Type

Speed limit types.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val speed: Speed? = null

Value of the speed limit or null if the speed is unlimited.

Link copied to clipboard

Type of the speed limit.