GMTDVehicleStop Class Reference

GMTDVehicleStop Class Reference

Overview

An object representing a vehicle stop for deliveries.

Inherits GMTSImmutableData.

Public Member Functions

(instancetype) - initWithTaskInfoArray:plannedWaypoint:state:
 Instantiates an instance of this class.

Protected Types

enum  GMTDVehicleStopState { GMTDVehicleStopStateUnspecified = 0, GMTDVehicleStopStateNew, GMTDVehicleStopStateEnroute, GMTDVehicleStopStateArrived }
 Enum representing all possible VehicleStop states. More...

Properties

NSArray< GMTDTaskInfo * > * taskInfoArray
 The array of TaskInfo objects to be performed at this stop.
GMSNavigationWaypoint * plannedWaypoint
 The waypoint for the stop.
GMTDVehicleStopState state
 The current state of a VehicleStop.

Member Function Documentation

- (instancetype) initWithTaskInfoArray: (NSArray< GMTDTaskInfo * > *)  taskInfoArray
plannedWaypoint: (nullable GMSNavigationWaypoint *)  plannedWaypoint
state: (GMTDVehicleStopState state 

Instantiates an instance of this class.

Parameters:
taskInfoArrayThe list of tasks to be performed at this stop.
plannedWaypointThe waypoint of the stop.
stateThe state of the VehicleStop.

Property Documentation

- (NSArray<GMTDTaskInfo *>*) taskInfoArray [read, copy]

The array of TaskInfo objects to be performed at this stop.

- (GMSNavigationWaypoint*) plannedWaypoint [read, assign]

The waypoint for the stop.

- (GMTDVehicleStopState) state [read, assign]

The current state of a VehicleStop.