Lane
Stay organized with collections
Save and categorize content based on your preferences.
Single lane on the road at the end of a route step.
Public Constructor Summary
Public Method Summary
static
Lane.Builder
|
builder()
Returns a new Builder instance that allows building new Lane objects.
|
abstract
List<LaneDirection>
|
laneDirections()
Returns the list of possible directions a driver can follow when using this lane at the end of
the respective route step.
|
Inherited Method Summary
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
Public Methods
public
static
Lane.Builder
builder
()
Returns a new Builder instance that allows building new Lane
objects.
public
abstract
List<LaneDirection>
laneDirections
()
Returns the list of possible directions a driver can follow when using this lane at the end of
the respective route step.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[null,null,["Last updated 2025-08-28 UTC."],[[["\u003cp\u003e\u003ccode\u003eLane\u003c/code\u003e represents a single lane on the road at the end of a route step in navigation.\u003c/p\u003e\n"],["\u003cp\u003eThis API is in beta and subject to change, backward compatibility is not guaranteed.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can build new \u003ccode\u003eLane\u003c/code\u003e objects using the provided \u003ccode\u003ebuilder()\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003elaneDirections()\u003c/code\u003e returns the possible driving directions for a lane at the end of a route step.\u003c/p\u003e\n"]]],[],null,["# Lane\n\npublic abstract class **Lane** extends Object \n\u003cbr /\u003e\n\n| [Preview](/maps/launch-stages#preview) feature\n\nSingle lane on the road at the end of a route step. \n\n### Nested Class Summary\n\n|-------|---|---|--------------------------------------------------------------------------------------------------------------------------------------------|\n| class | [Lane.Builder](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/Lane.Builder) || A builder of [Lane](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/Lane). |\n\n### Public Constructor Summary\n\n|---|---------------------------------------------------------------------------------------------------------------------------------------|\n| | [Lane](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/Lane#Lane())() |\n\n### Public Method Summary\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [Lane.Builder](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/Lane.Builder) | [builder](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/Lane#builder())() Returns a new Builder instance that allows building new [Lane](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/Lane) objects. |\n| abstract List\\\u003c[LaneDirection](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection)\\\u003e | [laneDirections](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/Lane#laneDirections())() Returns the list of possible directions a driver can follow when using this lane at the end of the respective route step. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Constructors\n-------------------\n\n#### public\n**Lane**\n()\n\n\u003cbr /\u003e\n\nPublic Methods\n--------------\n\n#### public static [Lane.Builder](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/Lane.Builder)\n**builder**\n()\n\nReturns a new Builder instance that allows building new [Lane](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/Lane) objects. \n\n#### public abstract List\\\u003c[LaneDirection](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection)\\\u003e\n**laneDirections**\n()\n\nReturns the list of possible directions a driver can follow when using this lane at the end of\nthe respective route step."]]