GMTDDeliveryVehicleManager
@interface GMTDDeliveryVehicleManager : NSObject
Class used to create and retrieve delivery vehicles from Fleet Engine
-
Unavailable
This class may only be initialized internally.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Creates a vehicle on Fleet Engine.
Declaration
Swift
func createVehicle() async throws -> GMTDDeliveryVehicle
Objective-C
- (void)createVehicleWithCompletion: (nonnull GMTDDeliveryVehicleManagerCompletionHandler)completion;
Parameters
completion
The block executed when a response from Fleet Engine is received.
-
Retrieves a vehicle from Fleet Engine.
Declaration
Swift
func vehicle() async throws -> GMTDDeliveryVehicle
Objective-C
- (void)getVehicleWithCompletion: (nonnull GMTDDeliveryVehicleManagerCompletionHandler)completion;
Parameters
completion
The block executed when a response from Fleet Engine is received.