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
errorThe error code.
-
* The callback that outputs the progress of the cropping process.
Declaration
Objective-C
- (void)cropTaskOnProgress:(float)progress;Parameters
progressThe 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;
AliyunCropDelegate Protocol Reference