AI-generated Key Takeaways
- 
          CustomRoutesOptionsdefines options for the Navigator to calculate routes using a route token.
- 
          It provides methods to specify the route token and travel mode for navigation. 
- 
          A Builderclass is used to create instances ofCustomRoutesOptions.
- 
          TravelModeenum defines the transportation type for tailoring directions.
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.