TTSummary

@interface TTSummary : NSObject

A TTSummary object defines summary route information between a requested start and end point.

  • The route or leg length in meters.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) NSInteger lengthInMetersValue;

    Swift

    var lengthInMetersValue: Int { get }
  • Estimated travel time in seconds. Note that even when traffic=false travelTimeInSeconds still includes the delay due to traffic.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) NSInteger travelTimeInSecondsValue;

    Swift

    var travelTimeInSecondsValue: Int { get }
  • Traffic delay is the difference between the travel time calculated using all available traffic information and travel time calculated without the influence of current and historic traffic data.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) NSInteger trafficDelayInSecondsValue;

    Swift

    var trafficDelayInSecondsValue: Int { get }
  • The estimated departure time for the route or leg. Specified as a dateTime.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSDate *_Nonnull departureTime;

    Swift

    var departureTime: Date { get }
  • The estimated arrival time for the route or leg. Specified as a dateTime.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSDate *_Nonnull arrivalTime;

    Swift

    var arrivalTime: Date { get }
  • Estimated travel time in seconds calculated as if there are no delays on the route due to traffic conditions (e.g. congestion). Included if requested using computeTravelTimeFor parameter.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic)
        NSInteger noTrafficTravelTimeInSecondsValue;

    Swift

    var noTrafficTravelTimeInSecondsValue: Int { get }
  • Estimated travel time in seconds calculated using time-dependent historic traffic data. Included if requested using computeTravelTimeFor parameter.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic)
        NSInteger historicTrafficTravelTimeInSecondsValue;

    Swift

    var historicTrafficTravelTimeInSecondsValue: Int { get }
  • Estimated travel time in seconds calculated using real-time speed data. Included if requested using computeTravelTimeFor parameter.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic)
        NSInteger liveTrafficIncidentsTravelTimeInSecondsValue;

    Swift

    var liveTrafficIncidentsTravelTimeInSecondsValue: Int { get }
  • Estimated fuel consumption in liters. Optional value.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) double fuelConsumptionInLitersValue;

    Swift

    var fuelConsumptionInLitersValue: Double { get }
  • Estimated electric energy consumption in kilowatt hours (kWh). Optional value. Returns -1 if unknown.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) double batteryConsumptionInkWhValue;

    Swift

    var batteryConsumptionInkWhValue: Double { get }
  • The travel time (in seconds) from the origin point to the first point where this route forks off from the reference route. Optional value. Returns -1 if unknown.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) NSInteger deviationTimeValue;

    Swift

    var deviationTimeValue: Int { get }