removePersistentRoadblockByCoordinates static method

GemError removePersistentRoadblockByCoordinates(
  1. Coordinates coords
)

Remove an user persistent roadblock identified by a reference coordinate ( for path impact zone type )

Parameters

  • IN coords The roadblock start coordinates. Must be equal with first coordinate in coords list provided when the roadblock was defined

Returns

  • The error code

Throws

  • An exception if it fails

Implementation

static GemError removePersistentRoadblockByCoordinates(Coordinates coords) {
  final OperationResult resultString = staticMethod(
    'TrafficService',
    'removePersistentRoadblock',
    args: coords,
  );

  return GemErrorExtension.fromCode(resultString['result']);
}