TTRouteSection
@interface TTRouteSection : NSObject
A TTInstructionGroup contains section of route information between a requested start and end point.
-
Index of the first point (offset 0) in the route this section applies to (only included for routeRepresentation polyline). @deperacted This property is deprecated, use ‘startPointIndexValue’.
Declaration
Objective-C
@property (readonly, strong, nonatomic) NSNumber *_Nullable startPointIndex;
Swift
var startPointIndex: NSNumber? { get }
-
Index of the first point (offset 0) in the route this section applies to (only included for routeRepresentation polyline).
Declaration
Objective-C
@property (readonly, assign, nonatomic) NSInteger startPointIndexValue;
Swift
var startPointIndexValue: Int { get }
-
Index of the last point (offset 0) in the route this section applies to (only included for routeRepresentation polyline). @deperacted This property is deprecated, use ‘endPointIndexValue’.
Declaration
Objective-C
@property (readonly, strong, nonatomic) NSNumber *_Nullable endPointIndex;
Swift
var endPointIndex: NSNumber? { get }
-
Index of the last point (offset 0) in the route this section applies to (only included for routeRepresentation polyline).
Declaration
Objective-C
@property (readonly, assign, nonatomic) NSInteger endPointIndexValue;
Swift
var endPointIndexValue: Int { get }
-
This attribute is either set to the value given to the request parameter travelMode, if this travel mode is possible, or to other which indicates that the given mode of transport is not possible in this section. This field can only be used within sections of type TRAVEL_MODE.
Declaration
Objective-C
@property (readonly, strong, nonatomic) NSString *_Nonnull travelMode;
Swift
var travelMode: String { get }
-
Delay in seconds caused by the incident. Returns -1 if unknown. @deperacted This property is deprecated, use ‘delayInSecondsValue’.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSNumber *_Nullable delayInSeconds;
Swift
var delayInSeconds: NSNumber? { get set }
-
Delay in seconds caused by the incident. Returns -1 if unknown.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger delayInSecondsValue;
Swift
var delayInSecondsValue: Int { get set }
-
Type of the incident. Returns -1 if unknown. @deperacted This property is deprecated, use ‘effectiveSpeedInKmhValue’.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSNumber *_Nullable effectiveSpeedInKmh;
Swift
var effectiveSpeedInKmh: NSNumber? { get set }
-
Type of the incident. Returns -1 if unknown.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger effectiveSpeedInKmhValue;
Swift
var effectiveSpeedInKmhValue: Int { get set }
-
The magnitude of delay caused by the incident. Returns -1 if unknown. @deperacted This property is deprecated, use ‘magnitudeOfDelayValue’.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSNumber *_Nullable magnitudeOfDelay;
Swift
var magnitudeOfDelay: NSNumber? { get set }
-
The magnitude of delay caused by the incident. Returns -1 if unknown.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger magnitudeOfDelayValue;
Swift
var magnitudeOfDelayValue: Int { get set }
-
Specifies which of the section types is reported in the route response.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSString *_Nonnull sectionType;
Swift
var sectionType: String { get set }
-
Placeholder.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSString *_Nonnull simpleCategory;
Swift
var simpleCategory: String { get set }
-
Details of the traffic event.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) TTTec *_Nullable tec;
Swift
var tec: TTTec? { get set }