Package | Description |
---|---|
com.here.android.mpa.routing |
This package provides classes, interfaces, and enumerations for route calculation and
route description (directions).
|
Modifier and Type | Method and Description |
---|---|
RouteOptions |
RoutePlan.getRouteOptions()
Gets the route options.
|
RouteOptions |
RouteOptions.setCarpoolAllowed(boolean value)
Allow or disallow usage of HOV/Carpool roads.
|
RouteOptions |
RouteOptions.setCarShuttleTrainsAllowed(boolean value)
Sets whether Car Shuttle Trains are allowed.
|
RouteOptions |
RouteOptions.setDirtRoadsAllowed(boolean value)
Sets whether Dirt Roads are allowed.
|
RouteOptions |
RouteOptions.setFerriesAllowed(boolean value)
Sets whether Ferries are allowed.
|
RouteOptions |
RouteOptions.setHighwaysAllowed(boolean value)
Sets whether Highways are allowed.
|
RouteOptions |
RouteOptions.setParksAllowed(boolean value)
Sets whether Parks are allowed.
|
RouteOptions |
RouteOptions.setRouteCount(int count)
Sets the desired number of route.
|
RouteOptions |
RouteOptions.setRouteType(RouteOptions.Type routeType)
Sets the Route Type, see
RouteOptions.Type for valid values |
RouteOptions |
RouteOptions.setStartDirection(int dirInDegrees)
Start direction.
|
RouteOptions |
RouteOptions.setTime(java.util.Date time,
RouteOptions.TimeType type)
Sets the arrival or departure time.
|
RouteOptions |
RouteOptions.setTollRoadsAllowed(boolean value)
Sets whether Toll Roads are allowed.
|
RouteOptions |
RouteOptions.setTransportMode(RouteOptions.TransportMode mode)
Sets the Transport Mode.
|
RouteOptions |
RouteOptions.setTunnelsAllowed(boolean value)
Sets whether Tunnels are allowed.
|
Modifier and Type | Method and Description |
---|---|
RoutePlan |
RoutePlan.setRouteOptions(RouteOptions options)
Sets the route options.
|