Overview
A request object for specifying parameters to get an active trip.
Inherits GMTSRequest.
Inherited by GMTCMutableTripRequest.
Public Member Functions | |
(instancetype) | - initWithRequestHeader:tripName:autoRefreshTimeInterval: |
Initializes the object. | |
(instancetype) | - initWithRequestHeader: |
Initialization of the object. | |
Properties | |
NSString * | tripName |
Name of the target trip. | |
NSTimeInterval | autoRefreshTimeInterval |
Refresh time interval of the trip request. | |
GMTSRequestHeader * | requestHeader |
Header of the request, to specify extra request conditions. |
Member Function Documentation
- (instancetype) initWithRequestHeader: | (nullable GMTSRequestHeader *) | requestHeader | |
tripName: | (nullable NSString *) | tripName | |
autoRefreshTimeInterval: | (NSTimeInterval) | autoRefreshTimeInterval | |
Initializes the object.
- Parameters:
-
requestHeader The header object of the request. tripName Name of trip, if set as nil, the property `tripName` getter will return "". autoRefreshTimeInterval The refresh time interval of the trip request.
- (instancetype) initWithRequestHeader: | (nullable GMTSRequestHeader *) | requestHeader |
Initialization of the object.
- Parameters:
-
requestHeader A request header object to bind with the current request.
Property Documentation
- (NSString*) tripName [read, copy] |
Name of the target trip.
The value will be an empty string("") if set as nil.
Implemented in GMTCMutableTripRequest.
- (NSTimeInterval) autoRefreshTimeInterval [read, assign] |
Refresh time interval of the trip request.
Implemented in GMTCMutableTripRequest.
- (GMTSRequestHeader*) requestHeader [read, copy, inherited] |
Header of the request, to specify extra request conditions.
Implemented in GMTCMutableTripRequest.