GoogleRidesharingConsumer Framework Reference

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;