AI-generated Key Takeaways
-
GMTSTripStatus
is an enumeration that defines all possible statuses for a trip. -
The
GMTSTripStatus
enum includes statuses likeunknown
,new
,enrouteToPickup
,arrivedAtPickup
, andenrouteToIntermediateDestination
. -
It also covers
arrivedAtIntermediateDestination
,enrouteToDropoff
,complete
, andcanceled
trip statuses. -
The declaration of each of the trip statuses are listed for both Swift and Objective-C.
GMTSTripStatus
enum GMTSTripStatus : NSUInteger {}
Defines all the possible trip statuses.
-
Declaration
Swift
case unknown = 0
Objective-C
GMTSTripStatusUnknown
-
Declaration
Swift
case new = 1
Objective-C
GMTSTripStatusNew
-
Declaration
Swift
case enrouteToPickup = 2
Objective-C
GMTSTripStatusEnrouteToPickup
-
Declaration
Swift
case arrivedAtPickup = 3
Objective-C
GMTSTripStatusArrivedAtPickup
-
Declaration
Swift
case enrouteToIntermediateDestination = 4
Objective-C
GMTSTripStatusEnrouteToIntermediateDestination
-
Declaration
Swift
case arrivedAtIntermediateDestination = 5
Objective-C
GMTSTripStatusArrivedAtIntermediateDestination
-
Declaration
Swift
case enrouteToDropoff = 6
Objective-C
GMTSTripStatusEnrouteToDropoff
-
Declaration
Swift
case complete = 7
Objective-C
GMTSTripStatusComplete
-
Declaration
Swift
case canceled = 8
Objective-C
GMTSTripStatusCanceled