GoogleRidesharingConsumer Framework Reference

  • GMTCMutableTripRequest is a mutable version of GMTCTripRequest.

  • requestHeader is the modifiable header of the request, of type GMTSRequestHeader.

  • tripName represents the ID of the trip and defaults to an empty string if set to nil.

  • autoRefreshTimeInterval sets the refresh interval for the trip request.

  • The init method is used to initialize the GMTCMutableTripRequest object.

GMTCMutableTripRequest

@interface GMTCMutableTripRequest : GMTCTripRequest

Mutable version of GMTCTripRequest.

  • Header of the request.

    Declaration

    Swift

    @NSCopying var requestHeader: GMTSRequestHeader? { get set }

    Objective-C

    @property (nonatomic, copy, nullable) GMTSRequestHeader *requestHeader;
  • 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;
  • Initializes the object.

    Declaration

    Swift

    init()

    Objective-C

    - (nonnull instancetype)init;