GMTDDeliveryVehicleManager Class Reference

GMTDDeliveryVehicleManager Class Reference

Overview

Class used to create and retrieve delivery vehicles from Fleet Engine.

Public Member Functions

(void) - createVehicleWithCompletion:
 This class may only be initialized internally.
(void) - getVehicleWithCompletion:
 Retrieves a vehicle from Fleet Engine.

Protected Types

typedef void(^ GMTDDeliveryVehicleManagerCompletionHandler )(GMTDDeliveryVehicle *_Nullable vehicle, NSError *_Nullable error)
 Completion handler type definition for the create and get vehicle operations.

Member Function Documentation

This class may only be initialized internally.

Creates a vehicle on Fleet Engine.

Parameters:
completionThe block executed when a response from Fleet Engine is received.

Retrieves a vehicle from Fleet Engine.

Parameters:
completionThe block executed when a response from Fleet Engine is received.