GoogleRidesharingConsumer Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMTSTripPropertyFields\u003c/code\u003e is an enum used to identify different properties within a Trip object, particularly when comparing differences between trips.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGMTSTripPropertyFieldNone\u003c/code\u003e represents a null or non-specific property field, with a value of 0.\u003c/p\u003e\n"],["\u003cp\u003eProperties like \u003ccode\u003etripName\u003c/code\u003e, \u003ccode\u003evehicleID\u003c/code\u003e, \u003ccode\u003etripType\u003c/code\u003e, and \u003ccode\u003etripStatus\u003c/code\u003e are among the various fields identified by this enum, each having distinct values and corresponding constants.\u003c/p\u003e\n"],["\u003cp\u003eLocation and time-based properties such as \u003ccode\u003epickupLocation\u003c/code\u003e, \u003ccode\u003epickupTime\u003c/code\u003e, \u003ccode\u003edropoffLocation\u003c/code\u003e, and \u003ccode\u003edropoffTime\u003c/code\u003e are also defined within this enum.\u003c/p\u003e\n"],["\u003cp\u003eThe enum also covers fields related to route details like \u003ccode\u003eactiveRoute\u003c/code\u003e, \u003ccode\u003eremainingRoute\u003c/code\u003e, \u003ccode\u003eactiveRouteTraffic\u003c/code\u003e, and \u003ccode\u003eremainingRouteTraffic\u003c/code\u003e, as well as metrics like \u003ccode\u003eremainingDistanceOfActiveRouteInMeters\u003c/code\u003e and \u003ccode\u003edistanceOfRemainingRouteInMeters\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# GoogleRidesharingConsumer Framework Reference\n\nGMTSTripPropertyFields\n======================\n\n enum GMTSTripPropertyFields : NSUInteger {}\n\nIndicates each property in the Trip object. For populating the difference generated by\n`differentPropertiesBetween:and:`\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldNone](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldNone)\n\n `\n ` \n\n #### Declaration\n\n Objective-C \n\n GMTSTripPropertyFieldNone = 0\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldTripName](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldTripName)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var tripName: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldTripName = 1\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldVehicleID](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldVehicleID)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var vehicleID: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldVehicleID = 1 \u003c\u003c 1\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldTripType](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldTripType)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var tripType: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldTripType = 1 \u003c\u003c 2\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldTripStatus](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldTripStatus)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var tripStatus: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldTripStatus = 1 \u003c\u003c 3\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldPickupLocation](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldPickupLocation)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var pickupLocation: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldPickupLocation = 1 \u003c\u003c 4\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldPickupTime](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldPickupTime)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var pickupTime: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldPickupTime = 1 \u003c\u003c 5\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldDropoffLocation](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldDropoffLocation)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var dropoffLocation: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldDropoffLocation = 1 \u003c\u003c 6\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldDropoffTime](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldDropoffTime)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var dropoffTime: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldDropoffTime = 1 \u003c\u003c 7\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldRouteLastVehicleLocation](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldRouteLastVehicleLocation)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var routeLastVehicleLocation: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldRouteLastVehicleLocation = 1 \u003c\u003c 8\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldNumberOfPassengers](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldNumberOfPassengers)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var numberOfPassengers: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldNumberOfPassengers = 1 \u003c\u003c 9\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldRemainingWaypoints](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldRemainingWaypoints)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var remainingWaypoints: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldRemainingWaypoints = 1 \u003c\u003c 10\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldIntermediateDestinations](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldIntermediateDestinations)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var intermediateDestinations: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldIntermediateDestinations = 1 \u003c\u003c 11\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldIntermediateDestinationIndex](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldIntermediateDestinationIndex)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var intermediateDestinationIndex: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldIntermediateDestinationIndex = 1 \u003c\u003c 12\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldRemainingDistanceOfActiveRouteInMeters](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldRemainingDistanceOfActiveRouteInMeters)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var remainingDistanceOfActiveRouteInMeters: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldRemainingDistanceOfActiveRouteInMeters = 1 \u003c\u003c 13\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldDistanceOfRemainingRouteInMeters](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldDistanceOfRemainingRouteInMeters)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var distanceOfRemainingRouteInMeters: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldDistanceOfRemainingRouteInMeters = 1 \u003c\u003c 14\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldActiveRoute](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldActiveRoute)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var activeRoute: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldActiveRoute = 1 \u003c\u003c 15\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldActiveRouteTraffic](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldActiveRouteTraffic)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var activeRouteTraffic: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldActiveRouteTraffic = 1 \u003c\u003c 16\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldRemainingRoute](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldRemainingRoute)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var remainingRoute: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldRemainingRoute = 1 \u003c\u003c 17\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFieldRemainingRouteTraffic](#/c:@E@GMTSTripPropertyFields@GMTSTripPropertyFieldRemainingRouteTraffic)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n static var remainingRouteTraffic: GMTSTripPropertyFields { get }\n\n Objective-C \n\n GMTSTripPropertyFieldRemainingRouteTraffic = 1 \u003c\u003c 18"]]