Object that contains the vehicle's information, ETA, and distance calculations for a vehicle that matches the SearchVehiclesRequest.
|Initialization of the object. |
|The related vehicle information. |
|The timestamp of the pickup ETA. |
|The distance from current location to the pickup location. |
|The timestamp of the drop off ETA. |
|The distance from pickup to drop off. |
|The trip type of the vehicle. |
Member Function Documentation
|- (instancetype) initWithVehicle:||(nullable GMTSVehicle *)||vehicle|
Initialization of the object.
vehicle The vehicle data. pickupETA The timestamp of the pickup ETA. pickupDistance The distance from current location to the pickup point. dropoffETA The timestamp of the drop off ETA. pickupToDropoffDistance The distance from pickup to drop off. tripType The trip type.
|- (NSTimeInterval) pickupETA
The timestamp of the pickup ETA.
|- (int32_t) pickupDistanceInMeters
The distance from current location to the pickup location.
|- (NSTimeInterval) dropoffETA
The timestamp of the drop off ETA.
|- (int32_t) pickupToDropoffDistanceInMeters
The distance from pickup to drop off.