Overview
Mutable version of GMTCTripModelOptions
.
Inherits GMTCTripModelOptions.
Public Member Functions | |
(instancetype) | - initWithAutoRefreshTimeInterval:tripRequestHeader: |
Initializes the instance. | |
(instancetype) | - init |
Initializes the instance. | |
Static Public Member Functions | |
(instancetype) | + mutableTripModelOptionsWithOptions: |
Creates and returns an instance of GMTCMutableTripModelOptions based on the given instance of GMTCTripModelOptions . | |
Properties | |
NSTimeInterval | autoRefreshTimeInterval |
Sets or gets the current refresh time interval between the repeated trip info polling from server. | |
GMTSRequestHeader * | tripRequestHeader |
Sets or gets the request header that will be appended to each trip info polling call. |
Member Function Documentation
+ (instancetype) mutableTripModelOptionsWithOptions: | (nullable GMTCTripModelOptions *) | options |
Creates and returns an instance of GMTCMutableTripModelOptions
based on the given instance of GMTCTripModelOptions
.
- Parameters:
-
options The original instance of GMTCTripModelOptions
, based on where the mutable data will be constructed.
- (instancetype) initWithAutoRefreshTimeInterval: | (NSTimeInterval) | autoRefreshTimeInterval | |
tripRequestHeader: | (nullable GMTSRequestHeader *) | tripRequestHeader | |
Initializes the instance.
- Parameters:
-
autoRefreshTimeInterval A refresh time inverval between the repeated trip info polling. tripRequestHeader A trip request header that will be appended to each trip info polling call.
- (instancetype) init |
Initializes the instance.
Calling this is equivalent to calling `initWithAutoRefreshTimeInterval:0.0 tripRequestHeader:nil`.
Property Documentation
- (NSTimeInterval) autoRefreshTimeInterval [read, write, assign] |
Sets or gets the current refresh time interval between the repeated trip info polling from server.
Implements GMTCTripModelOptions.
- (GMTSRequestHeader*) tripRequestHeader [read, write, copy] |
Sets or gets the request header that will be appended to each trip info polling call.
Implements GMTCTripModelOptions.