NumberOfLanes

class NumberOfLanes(@IntRange(from = 0, to = 15) inDrivingDirection: Int? = null, @IntRange(from = 0, to = 15) inOppositeDirection: Int? = null)

Total number of lanes on the road in both directions.

Constructors

Link copied to clipboard
constructor(@IntRange(from = 0, to = 15) inDrivingDirection: Int? = null, @IntRange(from = 0, to = 15) inOppositeDirection: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Number of lanes on the road in the driving direction or null if the number of lanes is not known. If available, the value is in the range 0 and MAX_NUM_LANES. A value of 0 indicates that the vehicle is moving in the wrong direction on a one-way road. A value of MAX_NUM_LANES indicates that the actual number of lanes is greater than or equal to MAX_NUM_LANES. The value comprises both normal and exit lanes. inDrivingDirection and inOppositeDirection can both be null at the same time.

Link copied to clipboard

Number of lanes on the road in the opposite direction or null if the number of lanes is not known. If available, the value is in the range 0 and MAX_NUM_LANES. A value of 0 indicates that the vehicle is moving on a one-way road. A value equal to MAX_NUM_LANES indicates that the actual number of lanes is greater than or equal to MAX_NUM_LANES. The value comprises both normal and exit lanes. inDrivingDirection and inOppositeDirection can both be null at the same time.

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