public abstract class
CustomRoutesOptions
extends Object
Defines the options used by the Navigator
for calculating routes to one or multiple
destinations using a route token.
Nested Class Summary
class | CustomRoutesOptions.Builder | A Builder class to construct instances of CustomRoutesOptions. | |
@interface | CustomRoutesOptions.TravelMode | Specifies the type of transportation used to tailor the directions. |
Public Constructor Summary
Public Method Summary
static CustomRoutesOptions.Builder |
builder()
Returns a new Builder instance that allows building new CustomRoutesOptions objects.
|
abstract String |
routeToken()
Returns a route token that represents the unique route that was fetched from Routes Preferred
API and that must be fetched by the
Navigator . |
abstract int |
travelMode()
Returns the type of transportation used to determine the navigation directions.
|
Inherited Method Summary
Public Constructors
public CustomRoutesOptions ()
Public Methods
public static CustomRoutesOptions.Builder builder ()
Returns a new Builder instance that allows building new CustomRoutesOptions objects.
public abstract String routeToken ()
Returns a route token that represents the unique route that was fetched from Routes Preferred
API and that must be fetched by the Navigator
.
public abstract int travelMode ()
Returns the type of transportation used to determine the navigation directions.