TTSummaryEV
Objective-C
@interface TTSummaryEV : NSObject
Swift
class TTSummaryEV : NSObject
Public Preview
This is under Public Preview and subject to change by the end of 2020.12.
More information is available at: https://developer.tomtom.com/public-preview
Represents a summary of a route.
-
The estimated travel time in seconds. Note that even when traffic=false travelTimeInSeconds still includes the delay due to traffic.
Declaration
Objective-C
@property (nonatomic, readonly) NSTimeInterval travelTimeInSecondsValue;Swift
var travelTimeInSecondsValue: TimeInterval { 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 (nonatomic, readonly) NSTimeInterval trafficDelayInSecondsValue;Swift
var trafficDelayInSecondsValue: TimeInterval { get } -
The estimated departure time for the route or leg. Specified as a dateTime.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSDate *departureTime;Swift
var departureTime: Date? { get } -
The estimated arrival time for the route or leg. Specified as a dateTime.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSDate *arrivalTime;Swift
var arrivalTime: Date? { get } -
Estimated electric energy consumption in kilowatt hours (kWh). Optional value. Returns -1 if unknown.
Declaration
Objective-C
@property (nonatomic, readonly) double batteryConsumptionInkWhValue;Swift
var batteryConsumptionInkWhValue: Double { get } -
The estimated battery charge in kWh upon arrival at the end of the leg or the route. Returns -1 if unknown.
Declaration
Objective-C
@property (nonatomic, readonly) double remainingChargeAtArrivalInkWh;Swift
var remainingChargeAtArrivalInkWh: Double { get }
TTSummaryEV Class Reference