AI-generated Key Takeaways
-
GMTSTripStatusis an enumeration that defines all possible statuses for a trip. -
The
GMTSTripStatusenum includes statuses likeunknown,new,enrouteToPickup,arrivedAtPickup, andenrouteToIntermediateDestination. -
It also covers
arrivedAtIntermediateDestination,enrouteToDropoff,complete, andcanceledtrip 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 = 0Objective-C
GMTSTripStatusUnknown -
Declaration
Swift
case new = 1Objective-C
GMTSTripStatusNew -
Declaration
Swift
case enrouteToPickup = 2Objective-C
GMTSTripStatusEnrouteToPickup -
Declaration
Swift
case arrivedAtPickup = 3Objective-C
GMTSTripStatusArrivedAtPickup -
Declaration
Swift
case enrouteToIntermediateDestination = 4Objective-C
GMTSTripStatusEnrouteToIntermediateDestination -
Declaration
Swift
case arrivedAtIntermediateDestination = 5Objective-C
GMTSTripStatusArrivedAtIntermediateDestination -
Declaration
Swift
case enrouteToDropoff = 6Objective-C
GMTSTripStatusEnrouteToDropoff -
Declaration
Swift
case complete = 7Objective-C
GMTSTripStatusComplete -
Declaration
Swift
case canceled = 8Objective-C
GMTSTripStatusCanceled