AliyunDraftLoadTask

@interface AliyunDraftLoadTask : NSObject

* The task of load

  • * Whether the task is finished

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isFinish;
  • * The resource for this task

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) AEPResourceModel *resource;
  • * Load success

    Declaration

    Objective-C

    - (void)onSuccess:(AEPSource *)result;

    Parameters

    result

    The result of load

  • * Ignore this load task

    Declaration

    Objective-C

    - (void)onIgnore;
  • * Mark this task load fail and remove the node of resource

    Declaration

    Objective-C

    - (void)onFailToRemove;
  • * Mark this task load fail And stop the whole load tasks

    Declaration

    Objective-C

    - (void)onFailToStopWithError:(NSError *)error;