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).
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).
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.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger delayInSecondsValue;
Swift
var delayInSecondsValue: Int { 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.
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 }
-
A 3-character ISO 3166-1 alpha-3 country code.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSString *_Nonnull countryCode;
Swift
var countryCode: String { get set }
-
Type of the incident.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSString *_Nonnull simpleCategory;
Swift
var simpleCategory: String { get set }