Overview
Object that for configuring the GMTCTripModel
.
Inherits GMTSRequestOptions.
Inherited by GMTCMutableTripModelOptions.
Public Member Functions | |
(instancetype) | - initWithAutoRefreshTimeInterval:tripRequestHeader: |
Initializes the instance. | |
(instancetype) | - init |
Initializes the instance. | |
Properties | |
NSTimeInterval | autoRefreshTimeInterval |
Returns the current refresh time interval between the repeated trip info polling from server. | |
GMTSRequestHeader * | tripRequestHeader |
Returns the request header that will be appended to each trip info polling call. |
Member Function Documentation
- (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, assign] |
Returns the current refresh time interval between the repeated trip info polling from server.
Implemented in GMTCMutableTripModelOptions.
- (GMTSRequestHeader*) tripRequestHeader [read, assign] |
Returns the request header that will be appended to each trip info polling call.
Implemented in GMTCMutableTripModelOptions.