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
-
Get the transfer statistics
no setter
Static Methods
-
calculateRoute(
List< Landmark> waypoints, RoutePreferences routePreferences, void onCompleteCallback(GemError err, List<Route> routes)) → TaskHandler? - Calculate a route between the specified waypoints.
-
cancelRoute(
TaskHandler taskHandler) → void - Cancel the route calculation associated with the specified listener.
-
getRouteStatus(
TaskHandler taskHandler) → RouteStatus - Get the status for the route monitored by the given task handler.
-
isCalculationRunning(
TaskHandler taskHandler) → bool - Check if there is route calculation in progress associated with the specified task handler.
-
resetRouteRoadBlocks(
) → void - Reset the user road blocks.
-
setRouteRoadBlock(
RouteInstructionBase instruction) → GemError - Set a user road block from the provided route instruction.