public interface RoutingProvider
| Modifier and Type | Method and Description |
|---|---|
void |
addRouteRestriction(java.lang.String restriction) |
void |
clearRouteRestrictions() |
void |
query(Point from,
Point to) |
void |
queryMultipleDestinations(Point from,
java.util.List<Point> destinations) |
void |
setDateTime(int date,
boolean isDeparture)
Sets either the departure time or the arrival time
|
void |
setLanguage(java.lang.String language) |
void |
setOnRouteResultListener(OnRouteResultListener listener)
Sets the callback method for receiving routes
|
void |
setTravelMode(java.lang.String mode) |
void |
setUserRoles(java.util.List<UserRole> userRoles)
Set the user roles to apply during route calculation.
|
void setOnRouteResultListener(@Nullable
OnRouteResultListener listener)
void setTravelMode(@Nullable
java.lang.String mode)
void setLanguage(@NonNull
java.lang.String language)
void setDateTime(int date,
boolean isDeparture)
Only use this method if the departure time is not the current one
date - The epoch time, in seconds, as an integerisDeparture - True to set the departure_time, false to set the arrival_timevoid addRouteRestriction(@NonNull
java.lang.String restriction)
void clearRouteRestrictions()
void setUserRoles(@Nullable
java.util.List<UserRole> userRoles)
userRoles -