TTSummaryEV
Objective-C
@interface TTSummaryEV : NSObject
Swift
class TTSummaryEV : NSObject
Represents a summary of a route.
-
The route or leg length in meters.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger lengthInMetersValue;Swift
var lengthInMetersValue: Int { get } -
The epstimated 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