On-demand Rides and Deliveries Solution is currently available only to select partners. Contact sales to learn more.

GMTSTaskInfo Class Reference

Stay organized with collections Save and categorize content based on your preferences.
GMTSTaskInfo Class Reference

Overview

An immutable object representing a task that will be completed at a vehicle stop.

Inherits GMTSImmutableData.

Public Member Functions

(instancetype) - initWithTaskID:taskDuration:
 Instantiates an instance of this class.

Properties

GMTSFleetEngineIDStringtaskID
 The unique ID of the task.
NSTimeInterval taskDuration
 The time required to perform the task.

Member Function Documentation

- (instancetype) initWithTaskID: (GMTSFleetEngineIDString *)  taskID
taskDuration: (NSTimeInterval)  taskDuration 

Instantiates an instance of this class.

Parameters:
taskIDThe ID of a task.
taskDurationThe time required to perform the task.

Property Documentation

- (GMTSFleetEngineIDString*) taskID [read, copy]

The unique ID of the task.

- (NSTimeInterval) taskDuration [read, assign]

The time required to perform the task.