NSDK_RouteInformation

@interface NSDK_RouteInformation : NSObject

Contains the status of the navigation.

@author PTV AG Karlsruhe

  • Returns the length of the route [m].

    Declaration

    Objective-C

    - (int)getLength;

    Swift

    func getLength() -> Int32

    Return Value

    the length of the route.

  • Returns the driving duration.

    Declaration

    Objective-C

    - (int)getDuration;

    Swift

    func getDuration() -> Int32

    Return Value

    the driving duration for the route [s].

  • Returns the driving duration. convenience function for getDuration

    Declaration

    Objective-C

    - (NSDate *)getEstimatedTimeOfArrival;

    Swift

    func getEstimatedTimeOfArrival() -> Date!

    Return Value

    the driving duration for the route [s].

  • Undocumented

    Declaration

    Objective-C

    - (BOOL) hasRestrictionsAtStart;

    Swift

    func hasRestrictionsAtStart() -> Bool
  • Undocumented

    Declaration

    Objective-C

    - (BOOL) hasRestrictionsOnRoute;

    Swift

    func hasRestrictionsOnRoute() -> Bool
  • Undocumented

    Declaration

    Objective-C

    - (BOOL) hasRestrictionsAtDestination;

    Swift

    func hasRestrictionsAtDestination() -> Bool
  • Undocumented

    Declaration

    Objective-C

    - (BOOL) hasLegalRestrictions;

    Swift

    func hasLegalRestrictions() -> Bool
  • Returns the toll information.

    Declaration

    Objective-C

    - (NSDK_TollInformation *)getTollInformation;

    Swift

    func getTollInformation() -> NSDK_TollInformation!

    Return Value

    the toll information for the route.