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
- (void) createVehicleWithCompletion: | (GMTDDeliveryVehicleManagerCompletionHandler) | completion |
This class may only be initialized internally.
Creates a vehicle on Fleet Engine.
- Parameters:
-
completion The block executed when a response from Fleet Engine is received.
- (void) getVehicleWithCompletion: | (GMTDDeliveryVehicleManagerCompletionHandler) | completion |
Retrieves a vehicle from Fleet Engine.
- Parameters:
-
completion The block executed when a response from Fleet Engine is received.