GoogleRidesharingConsumer Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMTCTripModelState
enum GMTCTripModelState : NSUInteger {}
Describes the activity status of a trip session.
-
The trip session is not yet started or stopped.
Declaration
Objective-C
GMTCTripModelStateInactive
-
The trip session is started.
Declaration
Objective-C
GMTCTripModelStateActive
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\u003eThe \u003ccode\u003eGMTCTripModelState\u003c/code\u003e enum defines the activity status of a trip session.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMTCTripModelStateInactive\u003c/code\u003e represents a trip session that has not yet started or has been stopped.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMTCTripModelStateActive\u003c/code\u003e indicates that the trip session is currently in progress.\u003c/p\u003e\n"]]],[],null,["# GoogleRidesharingConsumer Framework Reference\n\nGMTCTripModelState\n==================\n\n enum GMTCTripModelState : NSUInteger {}\n\nDescribes the activity status of a trip session.\n- `\n ``\n ``\n `\n\n ### [GMTCTripModelStateInactive](#/c:@E@GMTCTripModelState@GMTCTripModelStateInactive)\n\n `\n ` \n The trip session is not yet started or stopped. \n\n #### Declaration\n\n Swift \n\n case inactive = 0\n\n Objective-C \n\n GMTCTripModelStateInactive\n\n- `\n ``\n ``\n `\n\n ### [GMTCTripModelStateActive](#/c:@E@GMTCTripModelState@GMTCTripModelStateActive)\n\n `\n ` \n The trip session is started. \n\n #### Declaration\n\n Swift \n\n case active = 1\n\n Objective-C \n\n GMTCTripModelStateActive"]]