TTSectionEV

Objective-C

@interface TTSectionEV : NSObject

Swift

class TTSectionEV : NSObject

Represents information about the route section.

  • Index of the first point (offset 0) in the route this section applies to (only included for routeRepresentation polyline).

    Declaration

    Objective-C

    @property (nonatomic, readonly) 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 (nonatomic, readonly) NSInteger endPointIndexValue;

    Swift

    var endPointIndexValue: Int { get }
  • Effective speed of the incident in km/h, averaged over its entire length.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger effectiveSpeedInKmh;

    Swift

    var effectiveSpeedInKmh: Int { get }
  • The requested travel mode.

    Declaration

    Objective-C

    @property (nonatomic, readonly) TTEvTravelMode travelMode;

    Swift

    var travelMode: TTEvTravelMode { get }
  • Delay in seconds caused by the incident.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval delay;

    Swift

    var delay: TimeInterval { get }
  • The magnitude of delay caused by the incident.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger magnitudeOfDelayValue;

    Swift

    var magnitudeOfDelayValue: Int { get }
  • tec

    Details of the traffic event.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) TTTecEV *tec;

    Swift

    var tec: TTTecEV? { get }
  • Type of the incident.

    Declaration

    Objective-C

    @property (nonatomic, readonly) TTSimpleCategoryEV simpleCategory;

    Swift

    var simpleCategory: TTSimpleCategoryEV { get }
  • A 3-character ISO 3166-1 alpha-3 country code.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *countryCode;

    Swift

    var countryCode: String? { get }
  • The response section type.

    Declaration

    Objective-C

    @property (nonatomic, readonly) TTEvSectionType sectionType;

    Swift

    var sectionType: TTEvSectionType { get }