NSDK_TrafficSearchResult
@interface NSDK_TrafficSearchResult : NSObject
This class wraps a traffic incident
@author PTV AG Karlsruhe
-
Returns the description of the traffic item
Declaration
Objective-C
- (NSString *)getDescription;
Swift
func getDescription() -> String!
Return Value
the description.
-
Returns the report id of the item.
Declaration
Objective-C
- (NSString *)getReportId;
Swift
func getReportId() -> String!
Return Value
the report id.
-
Returns the provider name of the item.
Declaration
Objective-C
- (NSString *)getProviderName;
Swift
func getProviderName() -> String!
Return Value
the provider name.
-
Returns the start time of the item.
Declaration
Objective-C
- (NSString *)getStartTime;
Swift
func getStartTime() -> String!
Return Value
the start time.
-
Returns the end time of the item.
Declaration
Objective-C
- (NSString *)getEndTime;
Swift
func getEndTime() -> String!
Return Value
the end time.
-
Returns the category of the item.
Declaration
Objective-C
- (NSDK_TrafficSearchResultCategory)getCategory;
Swift
func getCategory() -> NSDK_TrafficSearchResultCategory
Return Value
the category.
-
Returns the event length of the item.
Declaration
Objective-C
- (int)getEventLength;
Swift
func getEventLength() -> Int32
Return Value
the event length.
-
Returns the category of the item.
Declaration
Objective-C
- (int)getEventLengthOnRoute;
Swift
func getEventLengthOnRoute() -> Int32
Return Value
the category.
-
Returns the delay of the item.
Declaration
Objective-C
- (int)getDelay;
Swift
func getDelay() -> Int32
Return Value
the delay.
-
Returns the delay on the route of the item.
Declaration
Objective-C
- (int)getDelayOnRoute;
Swift
func getDelayOnRoute() -> Int32
Return Value
the delay on the route.
-
Returns the part of delay on the route of the item which was related to an other event.
Declaration
Objective-C
- (int)getDelayOnOtherEvent;
Swift
func getDelayOnOtherEvent() -> Int32
Return Value
the not to be used part of delay on the route.
-
Returns the distance from start of the route of the item.
Declaration
Objective-C
- (int)getDistanceFromStart;
Swift
func getDistanceFromStart() -> Int32
Return Value
the distance from start of the route.
-
Returns whether the corresponding road is closed or blocked because of this traffic event.
Declaration
Objective-C
- (BOOL)isRoadBlockedOrClosed;
Swift
func isRoadBlockedOrClosed() -> Bool
Return Value
flag whether the corresponding road is closed or blocked because of this traffic event.
-
Returns whether the traffic incident is on the current route
Declaration
Objective-C
- (BOOL)isOnRoute;
Swift
func isOnRoute() -> Bool
-
Returns whether the traffic incident is relevant for routing
Declaration
Objective-C
- (BOOL)isRoutingRelevant;
Swift
func isRoutingRelevant() -> Bool