[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[[["\u003cp\u003e\u003ccode\u003eLaneDirection\u003c/code\u003e indicates the possible directions from a lane at the end of a route step and if it's recommended.\u003c/p\u003e\n"],["\u003cp\u003eThis API is in beta and subject to change without guaranteeing backward compatibility.\u003c/p\u003e\n"],["\u003cp\u003eUse \u003ccode\u003ebuilder()\u003c/code\u003e to create new \u003ccode\u003eLaneDirection\u003c/code\u003e objects and \u003ccode\u003eisRecommended()\u003c/code\u003e to check if a lane is suggested.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003elaneShape()\u003c/code\u003e provides the shape of the road path continuing from the lane using \u003ccode\u003eLaneDirection.LaneShape\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# LaneDirection\n\npublic abstract class **LaneDirection** extends Object \n\u003cbr /\u003e\n\n| [Preview](/maps/launch-stages#preview) feature\n\nOne of the possible directions from a lane at the end of a route step, and whether it is on\nthe recommended route. \n\n### Nested Class Summary\n\n|------------|---|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| class | [LaneDirection.Builder](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection.Builder) || A builder of [LaneDirection](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection). |\n| @interface | [LaneDirection.LaneShape](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection.LaneShape) || A set of values that specify the shape of the road path continuing from the Lane. |\n\n### Public Constructor Summary\n\n|---|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | [LaneDirection](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection#LaneDirection())() |\n\n### Public Method Summary\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [LaneDirection.Builder](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection.Builder) | [builder](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection#builder())() Returns a new Builder instance that allows building new [LaneDirection](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection) objects. |\n| abstract Boolean | [isRecommended](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection#isRecommended())() Whether this lane is recommended. |\n| abstract int | [laneShape](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection#laneShape())() Returns the [LaneDirection.LaneShape](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection.LaneShape) for this lane direction. |\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**LaneDirection**\n()\n\n\u003cbr /\u003e\n\nPublic Methods\n--------------\n\n#### public static [LaneDirection.Builder](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection.Builder)\n**builder**\n()\n\nReturns a new Builder instance that allows building new [LaneDirection](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection) objects. \n\n#### public abstract Boolean\n**isRecommended**\n()\n\nWhether this lane is recommended. Only one [LaneDirection](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection) is recommended at a time. \n\n#### public abstract int\n**laneShape**\n()\n\nReturns the [LaneDirection.LaneShape](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection.LaneShape) for this lane direction."]]