TNLiveTripInfo
@objcMembers
public class TNLiveTripInfo : NSObject, Codable
Live trip summary information.
-
Trip id.
Declaration
Swift
public let tripId: String -
Local time of the start of the trip.
Declaration
Swift
public let startTime: Date -
Location(see {@link TNLocation}) of the start of the trip.
Declaration
Swift
public let startLocation: TNLocation -
Last update time of the end of the trip.
Declaration
Swift
public let lastUpdateTime: Date -
The last update location(see {@link TNLocation}) of trip.
Declaration
Swift
public let lastUpdateLocation: TNLocation -
The distance of the trip in meters
Declaration
Swift
public let distance: Double -
Undocumented
Declaration
Swift
public init(tripId: String, startTime: Date, startLocation: TNLocation, lastUpdateTime: Date, lastUpdateLocation: TNLocation, distance: Double)