GoogleRidesharingConsumer Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
-
-
ID of the target trip. The value will be an empty string(@“”) if set as nil.
Declaration
Swift
var tripName: String! { get set }
Objective-C
@property (nonatomic, copy, null_resettable) NSString *tripName;
-
Refresh time interval of the trip request.
Declaration
Swift
var autoRefreshTimeInterval: TimeInterval { get set }
Objective-C
@property (nonatomic) NSTimeInterval autoRefreshTimeInterval;
-
Declaration
Objective-C
- (nonnull instancetype)init;
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\u003eGMTCMutableTripRequest\u003c/code\u003e is a mutable version of \u003ccode\u003eGMTCTripRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003erequestHeader\u003c/code\u003e is the modifiable header of the request, of type \u003ccode\u003eGMTSRequestHeader\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003etripName\u003c/code\u003e represents the ID of the trip and defaults to an empty string if set to nil.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eautoRefreshTimeInterval\u003c/code\u003e sets the refresh interval for the trip request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003einit\u003c/code\u003e method is used to initialize the \u003ccode\u003eGMTCMutableTripRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# GoogleRidesharingConsumer Framework Reference\n\nGMTCMutableTripRequest\n======================\n\n @interface GMTCMutableTripRequest : ../Classes/GMTCTripRequest.html\n\nMutable version of [GMTCTripRequest](../Classes/GMTCTripRequest.html).\n- `\n ``\n ``\n `\n\n ### [requestHeader](#/c:objc(cs)GMTCMutableTripRequest(py)requestHeader)\n\n `\n ` \n Header of the request. \n\n #### Declaration\n\n Swift \n\n @NSCopying var requestHeader: ../Classes/GMTSRequestHeader.html? { get set }\n\n Objective-C \n\n @property (nonatomic, copy, nullable) ../Classes/GMTSRequestHeader.html *requestHeader;\n\n- `\n ``\n ``\n `\n\n ### [tripName](#/c:objc(cs)GMTCMutableTripRequest(py)tripName)\n\n `\n ` \n ID of the target trip. The value will be an empty string(@\"\") if set as nil. \n\n #### Declaration\n\n Swift \n\n var tripName: String! { get set }\n\n Objective-C \n\n @property (nonatomic, copy, null_resettable) NSString *tripName;\n\n- `\n ``\n ``\n `\n\n ### [autoRefreshTimeInterval](#/c:objc(cs)GMTCMutableTripRequest(py)autoRefreshTimeInterval)\n\n `\n ` \n Refresh time interval of the trip request. \n\n #### Declaration\n\n Swift \n\n var autoRefreshTimeInterval: TimeInterval { get set }\n\n Objective-C \n\n @property (nonatomic) NSTimeInterval autoRefreshTimeInterval;\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)GMTCMutableTripRequest(im)init)\n\n `\n ` \n Initializes the object. \n\n #### Declaration\n\n Swift \n\n init()\n\n Objective-C \n\n - (nonnull instancetype)init;"]]