RoutingProvider

interface RoutingProvider

Routing provider interface. Specifies the query and setup methods that must be implemented when creating a subtype.

Author

Daniel Nielsen

Functions

Link copied to clipboard
abstract fun addRouteRestriction(@NonNull restriction: String)
Link copied to clipboard
abstract fun clearRouteRestrictions()
Link copied to clipboard
abstract fun query(@NonNull from: Point, @NonNull to: Point)
Link copied to clipboard
abstract fun queryMultipleDestinations(@NonNull from: Point, @NonNull destinations: List<Point>)
Link copied to clipboard
abstract fun setDateTime(date: Int, isDeparture: Boolean)
Sets either the departure time or the arrival time Only use this method if the departure time is not the current one
Link copied to clipboard
abstract fun setLanguage(@NonNull language: String)
Link copied to clipboard
abstract fun setOnRouteResultListener(@Nullable listener: OnRouteResultListener)
Sets the callback method for receiving routes
Link copied to clipboard
abstract fun setTravelMode(@Nullable mode: String)
Link copied to clipboard
abstract fun setUserRoles(@Nullable userRoles: List<UserRole>)
Set the user roles to apply during route calculation.

Inheritors

Link copied to clipboard