TTFlowSegmentDataResponse

@interface TTFlowSegmentDataResponse : NSObject

TTFlowSegmentDataResponse

  • Gets the current average speed at the selected point.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSInteger currentSpeed;

    Swift

    var currentSpeed: Int { get }
  • Gets the free flow speed expected under ideal conditions, expressed in the units requested.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSInteger freeFlowSpeed;

    Swift

    var freeFlowSpeed: Int { get }
  • Gets current travel time in seconds based on fused real-time measurements between the defined locations in the specified direction.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double currentTravelTime;

    Swift

    var currentTravelTime: Double { get }
  • Gets the free flow speed expected under ideal conditions, expressed in the units requested.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double freeFlowTravelTime;

    Swift

    var freeFlowTravelTime: Double { get }
  • Gets the confidence is a measure of the quality of the provided travel time and speed.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double confidence;

    Swift

    var confidence: Double { get }
  • Gets the ratio between live and the historical data used to provide the response. Is equal null returns -1.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double realtimeRatio;

    Swift

    var realtimeRatio: Double { get }
  • Gets OpenLR code for segment.

    Declaration

    Objective-C

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

    Swift

    var openLR: String { get }
  • Gets array of coordinates. Includes the coordinates describing the shape of the segment.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSMutableArray<NSValue *> *_Nonnull coordinates;

    Swift

    var coordinates: NSMutableArray { get }
  • Response HTTP headers.

    Declaration

    Objective-C

    - (id)HTTPHeaders;

    Swift

    func httpHeaders() -> Any!