Overview
An immutable object that represents a unit of work completed at a vehicle stop.
Inherits GMTSTask.
Public Member Functions | |
(instancetype) | - initWithTaskID:providerID:taskType:taskState:taskOutcome:taskOutcomeTimestamp:taskOutcomeWaypoint:taskOutcomeLocationSource:trackingID:vehicleID:plannedWaypoint:taskDuration: |
Instantiates an instance of this class. | |
Properties | |
GMTDFleetEngineIDString * | taskID |
The ID of the task. | |
NSString * | providerID |
The ID associated with the provider. | |
GMTSTaskType | taskType |
The type of current task. | |
GMTSTaskState | taskState |
The current execution state of the task. | |
GMTSTaskOutcome | taskOutcome |
The outcome of the task. | |
NSTimeInterval | taskOutcomeTimestamp |
The timestamp of when the task's outcome was updated (from server). | |
GMSNavigationWaypoint * | taskOutcomeWaypoint |
Waypoint where the task's outcome was set. | |
GMTSTaskOutcomeLocationSource | taskOutcomeLocationSource |
Indicates the source of the location information in the taskOutcomeWaypoint. | |
GMTDFleetEngineIDString * | trackingID |
Lets you store an ID so that the customer can avoid unnecessary or complicated mapping. | |
GMTDFleetEngineIDString * | vehicleID |
The ID of the vehicle performing this task. | |
GMSNavigationWaypoint * | plannedWaypoint |
The waypoint where the task is to be completed. | |
NSTimeInterval | taskDuration |
Additional time to perform an action at this location. |
Member Function Documentation
- (instancetype) initWithTaskID: | (nullable GMTDFleetEngineIDString *) | taskID | |
providerID: | (nullable NSString *) | providerID | |
taskType: | (GMTSTaskType) | taskType | |
taskState: | (GMTSTaskState) | taskState | |
taskOutcome: | (GMTSTaskOutcome) | taskOutcome | |
taskOutcomeTimestamp: | (NSTimeInterval) | taskOutcomeTimestamp | |
taskOutcomeWaypoint: | (nullable GMSNavigationWaypoint *) | taskOutcomeWaypoint | |
taskOutcomeLocationSource: | (GMTSTaskOutcomeLocationSource) | taskOutcomeLocationSource | |
trackingID: | (nullable GMTDFleetEngineIDString *) | trackingID | |
vehicleID: | (nullable GMTDFleetEngineIDString *) | vehicleID | |
plannedWaypoint: | (nullable GMSNavigationWaypoint *) | plannedWaypoint | |
taskDuration: | (NSTimeInterval) | taskDuration | |
Instantiates an instance of this class.
- Parameters:
-
taskID The ID of a task. providerID The ID associated with the provider. taskType The type of task. taskState The current execution state of the task. taskOutcome The outcome of the task. taskOutcomeTimestamp The time when the task's outcome was set. taskOutcomeWaypoint Waypoint where the task's outcome was set. taskOutcomeLocationSource Indicates whether the value of the task_outcome_location came from unnecessary or complicated mapping. trackingID Lets you store an ID so that the customer can avoid an unnecessary or complicated mapping. vehicleID The ID of the vehicle performing this Task. plannedWaypoint The waypoint where the task will be completed. taskDuration Additional time to perform an action at this location.
Property Documentation
- (GMTDFleetEngineIDString*) taskID [read, assign, inherited] |
The ID of the task.
- (NSString*) providerID [read, assign, inherited] |
The ID associated with the provider.
- (GMTSTaskType) taskType [read, assign, inherited] |
The type of current task.
- (GMTSTaskState) taskState [read, assign, inherited] |
The current execution state of the task.
- (GMTSTaskOutcome) taskOutcome [read, assign, inherited] |
The outcome of the task.
- (NSTimeInterval) taskOutcomeTimestamp [read, assign, inherited] |
The timestamp of when the task's outcome was updated (from server).
- (GMSNavigationWaypoint*) taskOutcomeWaypoint [read, assign, inherited] |
Waypoint where the task's outcome was set.
- (GMTSTaskOutcomeLocationSource) taskOutcomeLocationSource [read, assign, inherited] |
Indicates the source of the location information in the taskOutcomeWaypoint.
- (GMTDFleetEngineIDString*) trackingID [read, assign, inherited] |
Lets you store an ID so that the customer can avoid unnecessary or complicated mapping.
- (GMTDFleetEngineIDString*) vehicleID [read, assign, inherited] |
The ID of the vehicle performing this task.
- (GMSNavigationWaypoint*) plannedWaypoint [read, assign, inherited] |
The waypoint where the task is to be completed.
- (NSTimeInterval) taskDuration [read, assign, inherited] |
Additional time to perform an action at this location.