DrivingSide

  • DrivingSide is an annotation in the Android Navigation SDK that indicates whether a route step is on a left-hand or right-hand drive road.

  • It offers three constants: LEFT, NONE (for unspecified), and RIGHT to represent the driving side.

  • This API is currently in beta and subject to changes, without guaranteed backward compatibility.

public abstract @interface DrivingSide implements Annotation

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

Constants

public static final int LEFT

Drive-on-left side.

Constant Value: 1

public static final int NONE

Unspecified side.

Constant Value: 0

public static final int RIGHT

Drive-on-right side.

Constant Value: 2