getRouteStatus static method
- TaskHandler taskHandler
Get the status for the route monitored by the given task handler.
Parameters
- IN taskHandler The task handler associated with the route calculation to be canceled.
Returns
- The status of the route calculation.
Throws
- An exception if it fails.
Implementation
static RouteStatus getRouteStatus(final TaskHandler taskHandler) {
taskHandler as TaskHandlerImpl;
final OperationResult result = staticMethod(
'RoutingService',
'getRouteStatus',
args: taskHandler.id,
);
return RouteStatusExtension.fromId(result['result']);
}