checkTrafficAlongRoutes static method

bool checkTrafficAlongRoutes()

Initiate a check for traffic conditions along all routes.

Returns

  • True if traffic conditions suggest a change in the route, false otherwise.

Throws:

  • An exception if it fails.

Implementation

static bool checkTrafficAlongRoutes() {
  final OperationResult resultString = staticMethod(
    'Debug',
    'checkTrafficAlongRoutes',
  );

  return resultString['result'] != 0;
}