TTTrafficDetail Class Reference

Inherits from TTTrafficDetailBase : NSObject
Declared in TTTrafficDetail.h

Overview

Copyright © 2017 TomTom N.V. All rights reserved.

This software is the proprietary copyright of TomTom N.V. and its subsidiaries and may be used for internal evaluation purposes or commercial use strictly subject to separate licensee agreement between you and TomTom. If you are the licensee, you are only permitted to use this Software in accordance with the terms of your license agreement. If you are not the licensee then you are not authorised to use this software in any manner and should immediately return it to TomTom N.V.

  originalPosition

Gets the point representing the actual position of the incident. Only present if requested othervise kCLLocationCoordinate2DInvalid

@property (nonatomic, readonly) CLLocationCoordinate2D originalPosition

Discussion

Gets the point representing the actual position of the incident. Only present if requested othervise kCLLocationCoordinate2DInvalid

Declared In

TTTrafficDetail.h

  cause

Gets cause of the incident, where available, in the language requested.

@property (nonatomic, readonly) NSString *cause

Discussion

Gets cause of the incident, where available, in the language requested.

Declared In

TTTrafficDetail.h

  desc

Gets description of the incident in the language requested.

@property (nonatomic, readonly) NSString *desc

Discussion

Gets description of the incident in the language requested.

Declared In

TTTrafficDetail.h

  from

Gets the name of the intersection or location where the traffic due to the incident starts.

@property (nonatomic, readonly) NSString *from

Discussion

Gets the name of the intersection or location where the traffic due to the incident starts.

Declared In

TTTrafficDetail.h

  to

Gets the name of the intersection or location where the traffic due to the incident ends.

@property (nonatomic, readonly) NSString *to

Discussion

Gets the name of the intersection or location where the traffic due to the incident ends.

Declared In

TTTrafficDetail.h

  delay

Gets the delay caused by the incident in seconds (except in road closures). Delay is optional if not available then returns -1

@property (nonatomic, readonly) NSInteger delay

Discussion

Gets the delay caused by the incident in seconds (except in road closures). Delay is optional if not available then returns -1

Declared In

TTTrafficDetail.h

  affectedRoadNumbers

Gets the road number(s) affected by the incident.

@property (nonatomic, readonly) NSArray<NSString*> *affectedRoadNumbers

Discussion

Gets the road number(s) affected by the incident.

Declared In

TTTrafficDetail.h

  geometry

Gets a vector representing the geometry of the incident. Not available for clusters and incidents that do not have a shape/length.

@property (nonatomic, readonly) NSArray<NSValue*> *geometry

Discussion

Gets a vector representing the geometry of the incident. Not available for clusters and incidents that do not have a shape/length.

Declared In

TTTrafficDetail.h