AWSLocationCalculateRouteMatrixSummary

Objective-C

@interface AWSLocationCalculateRouteMatrixSummary

Swift

class AWSLocationCalculateRouteMatrixSummary

A summary of the calculated route matrix.

Required parameters: [DataSource, RouteCount, ErrorCount, DistanceUnit]

  • The data provider of traffic and road network data used to calculate the routes. Indicates one of the available providers:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable dataSource;

    Swift

    var dataSource: String? { get set }
  • The unit of measurement for route distances.

    Declaration

    Objective-C

    @property (nonatomic) AWSLocationDistanceUnit distanceUnit;

    Swift

    var distanceUnit: AWSLocationDistanceUnit { get set }
  • The count of error results in the route matrix. If this number is 0, all routes were calculated successfully.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable errorCount;

    Swift

    var errorCount: NSNumber? { get set }
  • The count of cells in the route matrix. Equal to the number of DeparturePositions multiplied by the number of DestinationPositions.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable routeCount;

    Swift

    var routeCount: NSNumber? { get set }