TTTrafficData

Objective-C

@interface TTTrafficData : NSObject

Swift

class TTTrafficData : NSObject

TTTrafficData Location of traffic data described by the start and end point

  • The location of the traffic data described by the start and end point.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithStartPointIndex:(NSInteger)startPointIndex
                                   andEndPointIndex:(NSInteger)endPointIndex;

    Swift

    init(startPointIndex: Int, andEndPointIndex endPointIndex: Int)

    Parameters

    startPointIndex

    NSInteger start point of the traffic data.

    endPointIndex

    NSInteger end point of the traffic data.

  • Ending point of the traffic data.

    Declaration

    Objective-C

    @property (nonatomic) NSInteger endPointIndex;

    Swift

    var endPointIndex: Int { get set }
  • Starting point of the traffic data.

    Declaration

    Objective-C

    @property (nonatomic) NSInteger startPointIndex;

    Swift

    var startPointIndex: Int { get set }