GoogleRidesharingConsumer Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Enumerations
The following enumerations are available globally.
-
\defgroup GMTCMapViewMarkerType GMTCMapViewMarkerType
@{
Declaration
Swift
enum GMTCMapViewMarkerType : UInt, @unchecked Sendable
Objective-C
enum GMTCMapViewMarkerType : NSUInteger {}
-
Describes the activity status of a map view session.
Declaration
Swift
enum GMTCMapViewSessionState : UInt, @unchecked Sendable
Objective-C
enum GMTCMapViewSessionState : NSUInteger {}
-
Enum definition of all supported customizable marker types.
Declaration
Swift
enum GMTCCustomizableMarkerType : Int, @unchecked Sendable
Objective-C
enum GMTCCustomizableMarkerType : NSInteger {}
-
Enum definition of all supported polyline types.
Declaration
Swift
enum GMTCPolylineType : UInt, @unchecked Sendable
Objective-C
enum GMTCPolylineType : NSUInteger {}
-
Describes the activity status of a trip session.
Declaration
Swift
enum GMTCTripModelState : UInt, @unchecked Sendable
Objective-C
enum GMTCTripModelState : NSUInteger {}
-
Enum representing supported speed types on a path.
Declaration
Swift
enum GMTSSpeedType : UInt, @unchecked Sendable
Objective-C
enum GMTSSpeedType : NSUInteger {}
-
Defines all the trip types.
Declaration
Swift
enum GMTSTripType : UInt, @unchecked Sendable
Objective-C
enum GMTSTripType : NSUInteger {}
-
Defines all the possible trip statuses.
Declaration
Swift
enum GMTSTripStatus : UInt
Objective-C
enum GMTSTripStatus : NSUInteger {}
-
Indicates each property in the Trip object. For populating the difference generated by
differentPropertiesBetween:and:
Declaration
Swift
struct GMTSTripPropertyFields : OptionSet, @unchecked Sendable
Objective-C
enum GMTSTripPropertyFields : NSUInteger {}
-
Enum defining the waypoints associated with a trip.
Declaration
Swift
enum GMTSTripWaypointType : UInt, @unchecked Sendable
Objective-C
enum GMTSTripWaypointType : NSUInteger {}
-
Enum that defines all vehicle states.
Declaration
Swift
enum GMTSVehicleState : UInt, @unchecked Sendable
Objective-C
enum GMTSVehicleState : NSUInteger {}
-
Enum that defines all supported search orders.
Declaration
Swift
enum GMTSVehicleSearchOrder : UInt, @unchecked Sendable
Objective-C
enum GMTSVehicleSearchOrder : NSUInteger {}
-
Options for definition of allowed trip type.
Declaration
Swift
struct GMTSVehicleSupportedTripTypes : OptionSet, @unchecked Sendable
Objective-C
enum GMTSVehicleSupportedTripTypes : NSUInteger {}
-
Declaration
Swift
enum GMTSVehicleTypeCategory : UInt
Objective-C
enum GMTSVehicleTypeCategory : NSUInteger {}
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 page details a comprehensive list of globally available enumerations for iOS development related to mobility and journey sharing.\u003c/p\u003e\n"],["\u003cp\u003eThe enumerations include marker types, map view session states, customizable marker types, and polyline types, among others.\u003c/p\u003e\n"],["\u003cp\u003eTrip-related enumerations cover trip model states, speed types, trip types, statuses, property fields, and waypoint types.\u003c/p\u003e\n"],["\u003cp\u003eVehicle-related enumerations are also included, defining vehicle states, search orders, supported trip types, and vehicle type categories.\u003c/p\u003e\n"],["\u003cp\u003eEach enumeration is provided with both Swift and Objective-C declaration syntax for cross-platform support.\u003c/p\u003e\n"]]],["The content defines various global enumerations for iOS development, specifically related to map views and journey sharing. These enumerations include `GMTCMapViewMarkerType`, `GMTCMapViewSessionState`, `GMTCCustomizableMarkerType`, `GMTCPolylineType`, `GMTCTripModelState`, `GMTSSpeedType`, `GMTSTripType`, `GMTSTripStatus`, `GMTSTripPropertyFields`, `GMTSTripWaypointType`, `GMTSVehicleState`, `GMTSVehicleSearchOrder`, `GMTSVehicleSupportedTripTypes`, and `GMTSVehicleTypeCategory`. Each enum details specific types, states, or properties relevant to markers, sessions, trips, vehicles, and their display on maps. They are implemented for both Swift and Objective-C.\n"],null,["# GoogleRidesharingConsumer Framework Reference\n\nEnumerations\n============\n\nThe following enumerations are available globally.\n- `\n ``\n ``\n `\n\n ### [GMTCMapViewMarkerType](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCMapViewMarkerType)\n\n `\n ` \n \\\\defgroup GMTCMapViewMarkerType GMTCMapViewMarkerType\n @{ \n\n #### Declaration\n\n Swift \n\n enum GMTCMapViewMarkerType : UInt, @unchecked Sendable\n\n Objective-C \n\n enum GMTCMapViewMarkerType : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTCMapViewSessionState](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCMapViewSessionState)\n\n `\n ` \n Describes the activity status of a map view session. \n\n #### Declaration\n\n Swift \n\n enum GMTCMapViewSessionState : UInt, @unchecked Sendable\n\n Objective-C \n\n enum GMTCMapViewSessionState : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTCCustomizableMarkerType](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCCustomizableMarkerType)\n\n `\n ` \n Enum definition of all supported customizable marker types. \n\n #### Declaration\n\n Swift \n\n enum GMTCCustomizableMarkerType : Int, @unchecked Sendable\n\n Objective-C \n\n enum GMTCCustomizableMarkerType : NSInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTCPolylineType](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCPolylineType)\n\n `\n ` \n Enum definition of all supported polyline types. \n\n #### Declaration\n\n Swift \n\n enum GMTCPolylineType : UInt, @unchecked Sendable\n\n Objective-C \n\n enum GMTCPolylineType : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTCTripModelState](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCTripModelState)\n\n `\n ` \n Describes the activity status of a trip session. \n\n #### Declaration\n\n Swift \n\n enum GMTCTripModelState : UInt, @unchecked Sendable\n\n Objective-C \n\n enum GMTCTripModelState : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTSSpeedType](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTSSpeedType)\n\n `\n ` \n Enum representing supported speed types on a path. \n\n #### Declaration\n\n Swift \n\n enum GMTSSpeedType : UInt, @unchecked Sendable\n\n Objective-C \n\n enum GMTSSpeedType : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripType](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTSTripType)\n\n `\n ` \n Defines all the trip types. \n\n #### Declaration\n\n Swift \n\n enum GMTSTripType : UInt, @unchecked Sendable\n\n Objective-C \n\n enum GMTSTripType : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripStatus](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTSTripStatus)\n\n `\n ` \n Defines all the possible trip statuses. \n\n #### Declaration\n\n Swift \n\n enum GMTSTripStatus : UInt\n\n Objective-C \n\n enum GMTSTripStatus : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripPropertyFields](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTSTripPropertyFields)\n\n `\n ` \n Indicates each property in the Trip object. For populating the difference generated by\n `differentPropertiesBetween:and:` \n\n #### Declaration\n\n Swift \n\n struct GMTSTripPropertyFields : OptionSet, @unchecked Sendable\n\n Objective-C \n\n enum GMTSTripPropertyFields : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTSTripWaypointType](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTSTripWaypointType)\n\n `\n ` \n Enum defining the waypoints associated with a trip. \n\n #### Declaration\n\n Swift \n\n enum GMTSTripWaypointType : UInt, @unchecked Sendable\n\n Objective-C \n\n enum GMTSTripWaypointType : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTSVehicleState](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTSVehicleState)\n\n `\n ` \n Enum that defines all vehicle states. \n\n #### Declaration\n\n Swift \n\n enum GMTSVehicleState : UInt, @unchecked Sendable\n\n Objective-C \n\n enum GMTSVehicleState : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTSVehicleSearchOrder](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTSVehicleSearchOrder)\n\n `\n ` \n Enum that defines all supported search orders. \n\n #### Declaration\n\n Swift \n\n enum GMTSVehicleSearchOrder : UInt, @unchecked Sendable\n\n Objective-C \n\n enum GMTSVehicleSearchOrder : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTSVehicleSupportedTripTypes](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTSVehicleSupportedTripTypes)\n\n `\n ` \n Options for definition of allowed trip type. \n\n #### Declaration\n\n Swift \n\n struct GMTSVehicleSupportedTripTypes : OptionSet, @unchecked Sendable\n\n Objective-C \n\n enum GMTSVehicleSupportedTripTypes : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTSVehicleTypeCategory](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTSVehicleTypeCategory)\n\n `\n ` \n @} \n\n #### Declaration\n\n Swift \n\n enum GMTSVehicleTypeCategory : UInt\n\n Objective-C \n\n enum GMTSVehicleTypeCategory : NSUInteger {}"]]