DrivingSide
Stay organized with collections
Save and categorize content based on your preferences.
Whether this step is on a drive-on-right or drive-on-left route. May be unspecified.
Constant Summary
int |
LEFT |
Drive-on-left side. |
int |
NONE |
Unspecified side. |
int |
RIGHT |
Drive-on-right side. |
Inherited Method Summary
From interface
java.lang.annotation.Annotation
abstract
Class<? extends Annotation>
|
annotationType()
|
abstract
boolean
|
equals(Object arg0)
|
abstract
int
|
hashCode()
|
abstract
String
|
toString()
|
Constants
public
static
final
int
LEFT
public
static
final
int
NONE
public
static
final
int
RIGHT
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\u003eDrivingSide\u003c/code\u003e is an annotation in the Android Navigation SDK that indicates whether a route step is on a left-hand or right-hand drive road.\u003c/p\u003e\n"],["\u003cp\u003eIt offers three constants: \u003ccode\u003eLEFT\u003c/code\u003e, \u003ccode\u003eNONE\u003c/code\u003e (for unspecified), and \u003ccode\u003eRIGHT\u003c/code\u003e to represent the driving side.\u003c/p\u003e\n"],["\u003cp\u003eThis API is currently in beta and subject to changes, without guaranteed backward compatibility.\u003c/p\u003e\n"]]],[],null,["# DrivingSide\n\npublic abstract @interface **DrivingSide** implements Annotation \n\u003cbr /\u003e\n\n| [Preview](/maps/launch-stages#preview) feature\n\nWhether this step is on a drive-on-right or drive-on-left route. May be unspecified. \n\n### Constant Summary\n\n|-----|--------------------------------------------------------------------------------------------------------------------------------------------|----------------------|\n| int | [LEFT](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/DrivingSide#LEFT) | Drive-on-left side. |\n| int | [NONE](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/DrivingSide#NONE) | Unspecified side. |\n| int | [RIGHT](/maps/documentation/navigation/android-sdk/reference/com/google/android/libraries/mapsplatform/turnbyturn/model/DrivingSide#RIGHT) | Drive-on-right side. |\n\n### Inherited Method Summary\n\nFrom interface java.lang.annotation.Annotation \n\n|----------------------------------------|---------------------|\n| abstract Class\\\u003c? extends Annotation\\\u003e | annotationType() |\n| abstract boolean | equals(Object arg0) |\n| abstract int | hashCode() |\n| abstract String | toString() |\n\nConstants\n---------\n\n#### public static final int\n**LEFT**\n\nDrive-on-left side. \nConstant Value: 1 \n\n#### public static final int\n**NONE**\n\nUnspecified side. \nConstant Value: 0 \n\n#### public static final int\n**RIGHT**\n\nDrive-on-right side. \nConstant Value: 2"]]