SpeedLimit

Speed limit consisting of a speed limit type and a speed limit value.

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 limit value.

Types

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

Speed limit types.

Properties

Link copied to clipboard
val speed: Speed? = null

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

Link copied to clipboard

Type of the speed limit.

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