AWSLocationRouteMatrixEntry

Objective-C

@interface AWSLocationRouteMatrixEntry

Swift

class AWSLocationRouteMatrixEntry

The result for the calculated route of one DeparturePositionDestinationPosition pair.

  • The total distance of travel for the route.

    Declaration

    Objective-C

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

    Swift

    var distance: NSNumber? { get set }
  • The expected duration of travel for the route.

    Declaration

    Objective-C

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

    Swift

    var durationSeconds: NSNumber? { get set }
  • An error corresponding to the calculation of a route between the DeparturePosition and DestinationPosition.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLocationRouteMatrixEntryError *_Nullable error;

    Swift

    var error: AWSLocationRouteMatrixEntryError? { get set }