AliyunDraftLoadTask

@interface AliyunDraftLoadTask : NSObject

加载任务

  • 任务是否完成

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isFinish;
  • 任务原始资源

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) AEPResourceModel *resource;
  • 加载成功

    Declaration

    Objective-C

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

    Parameters

    result

    加载结果

  • 忽略这次加载任务

    Declaration

    Objective-C

    - (void)onIgnore;
  • 加载失败并删除对应的节点

    Declaration

    Objective-C

    - (void)onFailToRemove;
  • 加载这个任务失败并停止整个加载过程

    Declaration

    Objective-C

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