CustomRoutesOptions.TravelMode

public static abstract @interface CustomRoutesOptions.TravelMode implements Annotation

Specifies the type of transportation used to tailor the directions. The default is DRIVING.

Constant Summary

int DRIVING Provides directions based on travel for a 4-wheeled, motorized vehicle.
int TWO_WHEELER Provides directions based on travel for 2-wheeled, motorized transport.

Inherited Method Summary

Constants

public static final int DRIVING

Provides directions based on travel for a 4-wheeled, motorized vehicle. For example, a car or truck.

Constant Value: 0

public static final int TWO_WHEELER

Provides directions based on travel for 2-wheeled, motorized transport. For example, a motorcycle or scooter.

Constant Value: 1