GMTCMutableTripModelOptions
@interface GMTCMutableTripModelOptions : GMTCTripModelOptions
Mutable version of GMTCTripModelOptions
.
-
Sets or gets the current refresh time interval between the repeated trip info polling from server.
Declaration
Swift
var autoRefreshTimeInterval: TimeInterval { get set }
Objective-C
@property (nonatomic) NSTimeInterval autoRefreshTimeInterval;
-
Sets or gets the request header that will be appended to each trip info polling call.
Declaration
Swift
@NSCopying var tripRequestHeader: GMTSRequestHeader? { get set }
Objective-C
@property (nonatomic, copy, nullable) GMTSRequestHeader *tripRequestHeader;
-
Creates and returns an instance of
GMTCMutableTripModelOptions
based on the given instance ofGMTCTripModelOptions
.Declaration
Swift
convenience init(options: GMTCTripModelOptions?)
Objective-C
+ (nonnull instancetype)mutableTripModelOptionsWithOptions: (nullable GMTCTripModelOptions *)options;
Parameters
options
The original instance of
GMTCTripModelOptions
, based on where the mutable data will be constructed.