AI-generated Key Takeaways
-
This content defines the
GMTSVehicleSearchOrder
enum, 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 = 0
Objective-C
GMTSVehicleSearchOrderUnknown
-
Declaration
Swift
case byPickupETA = 1
Objective-C
GMTSVehicleSearchOrderByPickupETA
-
Declaration
Swift
case byPickupDistance = 2
Objective-C
GMTSVehicleSearchOrderByPickupDistance
-
Declaration
Swift
case byDropoffETA = 3
Objective-C
GMTSVehicleSearchOrderByDropoffETA
-
Declaration
Swift
case byPickupPointStraightDistance = 4
Objective-C
GMTSVehicleSearchOrderByPickupPointStraightDistance
-
Declaration
Swift
case byCost = 5
Objective-C
GMTSVehicleSearchOrderByCost