public abstract class **LaneDirection** extends Object  
<br />

> [!WARNING]
> [Preview](https://developers.google.com/maps/launch-stages#preview) feature

One of the possible directions from a lane at the end of a route step, and whether it is on
the recommended route.

### Nested Class Summary

|---|---|---|---|
| class | [LaneDirection.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection.Builder) || A builder of `https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection`. |
| @interface | [LaneDirection.LaneShape](https://developers.google.com/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. |

### Public Constructor Summary

|---|---|
|   | [LaneDirection](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection#LaneDirection())() |

### Public Method Summary

|---|---|
| static [LaneDirection.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection.Builder) | [builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection#builder())() Returns a new Builder instance that allows building new `https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection` objects. |
| abstract Boolean | [isRecommended](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection#isRecommended())() Whether this lane is recommended. |
| abstract int | [laneShape](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection#laneShape())() Returns the `https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection.LaneShape` for this lane direction. |

### 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 Constructors

#### public
**LaneDirection**
()

<br />

## Public Methods

#### public static [LaneDirection.Builder](https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection.Builder)
**builder**
()

Returns a new Builder instance that allows building new `https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection` objects.

#### public abstract Boolean
**isRecommended**
()

Whether this lane is recommended. Only one `https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection` is recommended at a time.

#### public abstract int
**laneShape**
()

Returns the `https://developers.google.com/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/LaneDirection.LaneShape` for this lane direction.