TTMatrixRouteResult

@interface TTMatrixRouteResult : NSObject

TTMatrixRouteResult

  • Response status code, like 200 - success

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSInteger statusCode;

    Swift

    var statusCode: Int { get }
  • Contains additional result description data

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull resultDescription;

    Swift

    var resultDescription: String { get }
  • Most important object in matrix result. Contains summary about one variation of route. Does not contain route data itself.

    Declaration

    Objective-C

    @property (readonly, nonatomic) TTSummary *_Nullable summary;

    Swift

    var summary: TTSummary? { get }
  • Origin coordinate

    Declaration

    Objective-C

    @property (readonly, nonatomic) CLLocationCoordinate2D origin;

    Swift

    var origin: CLLocationCoordinate2D { get }
  • Destination coordinate

    Declaration

    Objective-C

    @property (readonly, nonatomic) CLLocationCoordinate2D destination;

    Swift

    var destination: CLLocationCoordinate2D { get }