SummaryEV
@objc
public class SummaryEV : NSObject
BETA Represents a summary of a route.
Experiment
THIS API IS IN BETA VERSION-
The route or leg length in meters.
Declaration
Swift
@objc public let lengthInMetersValue: Int
-
The epstimated travel time in seconds. Note that even when traffic=false travelTimeInSeconds still includes the delay due to traffic.
Declaration
Swift
@objc public let travelTimeInSecondsValue: TimeInterval
-
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
Swift
@objc public let trafficDelayInSecondsValue: TimeInterval
-
The estimated departure time for the route or leg. Specified as a dateTime.
Declaration
Swift
@objc public let departureTime: Date?
-
The estimated arrival time for the route or leg. Specified as a dateTime.
Declaration
Swift
@objc public let arrivalTime: Date?
-
Estimated electric energy consumption in kilowatt hours (kWh). Optional value. Returns -1 if unknown.
Declaration
Swift
@objc public let batteryConsumptionInkWhValue: Double
-
The estimated battery charge in kWh upon arrival at the end of the leg or the route. Returns -1 if unknown.
Declaration
Swift
@objc public let remainingChargeAtArrivalInkWh: Double