ALAssetUpdateTaskFactory Class Reference

Inherits from NSObject
Declared in ALAssetUpdateTask.h

Overview

Used to create normal ALAssetUpdateTask, same as by doing it with the class initializer It’s only prepared this way for dependency injection purposes, and so that subclasses can be written that creates mock updatetask objects for tests.

– makeAssetUpdateTaskWithAssetContext:assetUpdateDelegate:

Create an asset update task

- (ALAssetUpdateTask *)makeAssetUpdateTaskWithAssetContext:(ALAssetContext *)assetContext assetUpdateDelegate:(id<ALAssetUpdateDelegate>)assetUpdateDelegate

Parameters

assetContext

the asset context

assetUpdateDelegate

the asset update delegate

Return Value

an ALAssetUpdateTask object

Declared In

ALAssetUpdateTask.h