GMTDDeliveryTaskManager Class Reference

GMTDDeliveryTaskManager Class Reference

Overview

Object that manages task creation and updates.

Public Member Functions

(void) - updateTaskWithRequest:completion:
 This class has no public initializers; obtain this object from the deliveryTaskManager property of the GMTDDeliveryDriverAPI object.
(void) - createTaskWithRequest:completion:
 Creates a task with the given request.

Member Function Documentation

- (void) updateTaskWithRequest: (GMTDUpdateDeliveryTaskRequest *)  request
completion: (GMTDDeliveryTaskManagerCompletionHandler completion 

This class has no public initializers; obtain this object from the deliveryTaskManager property of the GMTDDeliveryDriverAPI object.

Updates a task with the given request.

Parameters:
requestThe request to update the task.
completionA block to be executed when the request is completed.
- (void) createTaskWithRequest: (GMTDCreateDeliveryTaskRequest *)  request
completion: (GMTDDeliveryTaskManagerCompletionHandler completion 

Creates a task with the given request.

Parameters:
requestThe request to create the task.
completionA block to be executed when the request is completed.