GoogleRidesharingConsumer Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMTSTripType
enum GMTSTripType : NSUInteger {}
Defines all the trip types.
-
Declaration
Objective-C
GMTSTripTypeUnknown
-
Declaration
Objective-C
GMTSTripTypeShared
-
Declaration
Objective-C
GMTSTripTypeExclusive
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."],[],["The content defines an enumeration, `GMTSTripType`, with three possible trip types. `GMTSTripTypeUnknown` (value 0) represents an undefined trip type. `GMTSTripTypeShared` (value 1) indicates a shared trip. `GMTSTripTypeExclusive` (value 2) denotes an exclusive trip. Each type is defined using both Swift (case) and Objective-C (type name) syntax. This enum, in summary, provides the possible states of trip types.\n"],null,[]]