TTFlowSegmentDataResponse
Objective-C
@interface TTFlowSegmentDataResponse : NSObject
Swift
class TTFlowSegmentDataResponse : NSObject
TTFlowSegmentDataResponse
-
Gets the current average speed at the selected point.
Declaration
Objective-C
@property (nonatomic, readonly) 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 (nonatomic, readonly) 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 (nonatomic, readonly) 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 (nonatomic, readonly) 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 (nonatomic, readonly) 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 (nonatomic, readonly) double realtimeRatio;Swift
var realtimeRatio: Double { get } -
Gets OpenLR code for segment.
Declaration
Objective-C
@property (nonatomic, readonly) 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 (nonatomic, readonly) NSMutableArray<NSValue *> *_Nonnull coordinates;Swift
var coordinates: NSMutableArray { get } -
Response HTTP headers.
Declaration
Objective-C
- (id)HTTPHeaders;Swift
func httpHeaders() -> Any!
TTFlowSegmentDataResponse Class Reference