Lane

@CarProtocol
public final class Lane


Configuration of a single lane of a road at a particular point in the navigation.

A Lane object describes all possible directions the driver could go from this lane, and indicates which directions the driver could take to stay on the navigation route.

Summary

Nested types

public final class Lane.Builder

A builder of Lane.

Public methods

boolean
@NonNull List<LaneDirection>

Returns the list of directions a driver can take from this Lane.

int
@NonNull String

Public methods

equals

Added in 1.4.0-rc02
public boolean equals(@Nullable Object other)

getDirections

Added in 1.0.0
public @NonNull List<LaneDirectiongetDirections()

Returns the list of directions a driver can take from this Lane.

See also
addDirection

hashCode

Added in 1.4.0-rc02
public int hashCode()

toString

Added in 1.4.0-rc02
public @NonNull String toString()