AliyunCropDelegate
@protocol AliyunCropDelegate <NSObject>
* The protocol of crop callbacks.
-
* The callback when an error occurs during the cropping process.
Declaration
Objective-C
- (void)cropOnError:(int)error;
Parameters
error
The error code.
-
* The callback that outputs the progress of the cropping process.
Declaration
Objective-C
- (void)cropTaskOnProgress:(float)progress;
Parameters
progress
The current cropping progress. Valid values: [0, 1]
-
* The callback when the cropping process is complete.
Declaration
Objective-C
- (void)cropTaskOnComplete;
-
* The callback when the cropping process is canceled.
Declaration
Objective-C
- (void)cropTaskOnCancel;