RoutingService class abstract
Routing service class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- transferStatistics → TransferStatistics
-
Gets the transfer statistics.
no setter
Static Methods
-
calculateRoute(
List< Landmark> waypoints, RoutePreferences routePreferences, void onComplete(GemError err, List<Route> routes)) → TaskHandler? - Calculates a route between the specified waypoints.
-
cancelRoute(
TaskHandler taskHandler) → void - Cancels the route calculation associated with the specified listener.
-
getRouteStatus(
TaskHandler taskHandler) → RouteStatus - Gets the status for the route monitored by the given task handler.
-
isCalculationRunning(
TaskHandler taskHandler) → bool - Checks if there is a route calculation in progress associated with the specified task handler.
-
resetRouteRoadBlocks(
) → void - Resets the user road blocks.
-
setRouteRoadBlock(
RouteInstructionBase instruction) → GemError - Set a user road block from the provided route instruction.