AI-generated Key Takeaways
-
This content defines the
GMTSVehicleSearchOrderenum, which is used to specify the order in which vehicle search results are presented. -
The enum includes cases for ordering by unknown criteria, estimated time of arrival for pickup (
byPickupETA), and distance to the pickup location (byPickupDistance). -
Other supported ordering options include estimated time of arrival for drop-off (
byDropoffETA), straight-line distance to the pickup point (byPickupPointStraightDistance), and cost (byCost). -
Each search order case is available for use in both Swift and Objective-C.
GMTSVehicleSearchOrder
enum GMTSVehicleSearchOrder : NSUInteger {}Enum that defines all supported search orders.
-
Declaration
Swift
case unknown = 0Objective-C
GMTSVehicleSearchOrderUnknown -
Declaration
Swift
case byPickupETA = 1Objective-C
GMTSVehicleSearchOrderByPickupETA -
Declaration
Swift
case byPickupDistance = 2Objective-C
GMTSVehicleSearchOrderByPickupDistance -
Declaration
Swift
case byDropoffETA = 3Objective-C
GMTSVehicleSearchOrderByDropoffETA -
Declaration
Swift
case byPickupPointStraightDistance = 4Objective-C
GMTSVehicleSearchOrderByPickupPointStraightDistance -
Declaration
Swift
case byCost = 5Objective-C
GMTSVehicleSearchOrderByCost