Lane

data class Lane(val directions: List<Direction>, val follow: Direction? = null)

Contains information about a lane, specifically the set of directions within the lane along which a driver may drive. If this lane is recommended and leads along the route, one direction is marked as the one which the driver must follow. Otherwise, the follow parameter is null.

Parameters

directions

List of directions reachable from this lane.

follow

Optional Direction the driver should follow to continue along the route.

Constructors

Link copied to clipboard
constructor(directions: List<Direction>, follow: Direction? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val follow: Direction? = null