AliyunResourceLoadTask
@interface AliyunResourceLoadTask : NSObject
* The task for resource to load API_AVAILABLE(3.27.0)
-
* 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) AliyunResourceModel *resource;
-
* Mark this load task succeed, and return the new source of resource
Declaration
Objective-C
- (void)onSuccess:(AEPSource *)source;
Parameters
source
The new source of resource
-
* Ignore this load task
Declaration
Objective-C
- (void)onIgnore;
-
* Mark this load task failed, and return the error
Declaration
Objective-C
- (void)onFail:(NSError *)error;
Parameters
error
The error