GoogleRidesharingConsumer Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMTSTripWaypointType
enum GMTSTripWaypointType : NSUInteger {}
Enum defining the waypoints associated with a trip.
-
Declaration
Objective-C
GMTSTripWaypointTypeUnknown
-
Declaration
Objective-C
GMTSTripWaypointTypePickUp
-
Declaration
Objective-C
GMTSTripWaypointTypeDropOff
-
Declaration
Swift
case intermediateDestination = 3
Objective-C
GMTSTripWaypointTypeIntermediateDestination
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\u003eThis content defines the \u003ccode\u003eGMTSTripWaypointType\u003c/code\u003e enum, which is used to identify different types of waypoints in a trip.\u003c/p\u003e\n"],["\u003cp\u003eThe enum includes \u003ccode\u003eGMTSTripWaypointTypeUnknown\u003c/code\u003e representing an undefined waypoint.\u003c/p\u003e\n"],["\u003cp\u003eThe enum includes \u003ccode\u003eGMTSTripWaypointTypePickUp\u003c/code\u003e indicating a pick-up location for a trip.\u003c/p\u003e\n"],["\u003cp\u003eThe enum includes \u003ccode\u003eGMTSTripWaypointTypeDropOff\u003c/code\u003e specifying a drop-off location for a trip.\u003c/p\u003e\n"],["\u003cp\u003eThe enum includes \u003ccode\u003eGMTSTripWaypointTypeIntermediateDestination\u003c/code\u003e signifying an intermediate destination within a trip.\u003c/p\u003e\n"]]],["The provided content defines the `GMTSTripWaypointType` enum, which outlines the different types of waypoints associated with a trip. The enum has four possible values: `unknown` (0), `pickUp` (1), `dropOff` (2), and `intermediateDestination` (3). Each value is defined for both Swift (case) and Objective-C. These types help to identify and categorize the role of each waypoint within a given trip.\n"],null,["# GoogleRidesharingConsumer Framework Reference\n\nGMTSTripWaypointType\n====================\n\n enum GMTSTripWaypointType : NSUInteger {}\n\nEnum defining the waypoints associated with a trip.\n- `\n ``\n ``\n `\n\n ### [GMTSTripWaypointTypeUnknown](#/c:@E@GMTSTripWaypointType@GMTSTripWaypointTypeUnknown)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case unknown = 0\n\n Objective-C \n\n GMTSTripWaypointTypeUnknown\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripWaypointTypePickUp](#/c:@E@GMTSTripWaypointType@GMTSTripWaypointTypePickUp)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case pickUp = 1\n\n Objective-C \n\n GMTSTripWaypointTypePickUp\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripWaypointTypeDropOff](#/c:@E@GMTSTripWaypointType@GMTSTripWaypointTypeDropOff)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case dropOff = 2\n\n Objective-C \n\n GMTSTripWaypointTypeDropOff\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripWaypointTypeIntermediateDestination](#/c:@E@GMTSTripWaypointType@GMTSTripWaypointTypeIntermediateDestination)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case intermediateDestination = 3\n\n Objective-C \n\n GMTSTripWaypointTypeIntermediateDestination"]]