AI-generated Key Takeaways
-
GMTSTripPropertyFieldsis an enum used to identify different properties within a Trip object, particularly when comparing differences between trips. -
The
GMTSTripPropertyFieldNonerepresents a null or non-specific property field, with a value of 0. -
Properties like
tripName,vehicleID,tripType, andtripStatusare among the various fields identified by this enum, each having distinct values and corresponding constants. -
Location and time-based properties such as
pickupLocation,pickupTime,dropoffLocation, anddropoffTimeare also defined within this enum. -
The enum also covers fields related to route details like
activeRoute,remainingRoute,activeRouteTraffic, andremainingRouteTraffic, as well as metrics likeremainingDistanceOfActiveRouteInMetersanddistanceOfRemainingRouteInMeters.
GMTSTripPropertyFields
enum GMTSTripPropertyFields : NSUInteger {}Indicates each property in the Trip object. For populating the difference generated by
differentPropertiesBetween:and:
-
Declaration
Objective-C
GMTSTripPropertyFieldNone = 0 -
Declaration
Swift
static var tripName: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldTripName = 1 -
Declaration
Swift
static var vehicleID: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldVehicleID = 1 << 1 -
Declaration
Swift
static var tripType: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldTripType = 1 << 2 -
Declaration
Swift
static var tripStatus: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldTripStatus = 1 << 3 -
Declaration
Swift
static var pickupLocation: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldPickupLocation = 1 << 4 -
Declaration
Swift
static var pickupTime: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldPickupTime = 1 << 5 -
Declaration
Swift
static var dropoffLocation: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldDropoffLocation = 1 << 6 -
Declaration
Swift
static var dropoffTime: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldDropoffTime = 1 << 7 -
Declaration
Swift
static var routeLastVehicleLocation: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldRouteLastVehicleLocation = 1 << 8 -
Declaration
Swift
static var numberOfPassengers: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldNumberOfPassengers = 1 << 9 -
Declaration
Swift
static var remainingWaypoints: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldRemainingWaypoints = 1 << 10 -
Declaration
Swift
static var intermediateDestinations: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldIntermediateDestinations = 1 << 11 -
Declaration
Swift
static var intermediateDestinationIndex: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldIntermediateDestinationIndex = 1 << 12 -
Declaration
Swift
static var remainingDistanceOfActiveRouteInMeters: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldRemainingDistanceOfActiveRouteInMeters = 1 << 13 -
Declaration
Swift
static var distanceOfRemainingRouteInMeters: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldDistanceOfRemainingRouteInMeters = 1 << 14 -
Declaration
Swift
static var activeRoute: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldActiveRoute = 1 << 15 -
Declaration
Swift
static var activeRouteTraffic: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldActiveRouteTraffic = 1 << 16 -
Declaration
Swift
static var remainingRoute: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldRemainingRoute = 1 << 17 -
Declaration
Swift
static var remainingRouteTraffic: GMTSTripPropertyFields { get }Objective-C
GMTSTripPropertyFieldRemainingRouteTraffic = 1 << 18