AliyunRecorderDelegate
@protocol AliyunRecorderDelegate <NSObject>
* The Callback of recorder event API_AVAILABLE(3.22.0)
-
* The State of recorder has been change API_AVAILABLE(3.22.0)
Declaration
Objective-C
- (void)onAliyunRecorder:(AliyunRecorder *)recorder stateDidChange:(AliyunRecorderState)state;
-
* The preview state of recorder has been change API_AVAILABLE(3.22.0)
Declaration
Objective-C
- (void)onAliyunRecorder:(AliyunRecorder *)recorder previewStateDidChange:(BOOL)isPreviewing;
-
The progress of recorder has been change API_AVAILABLE(3.22.0)
Declaration
Objective-C
- (void)onAliyunRecorder:(AliyunRecorder *)recorder progressWithDuration:(CGFloat)duration;
-
* Error of record occurred API_AVAILABLE(3.22.0)
Declaration
Objective-C
- (void)onAliyunRecorder:(AliyunRecorder *)recorder occursError:(NSError *)error;
-
* The callback when the maximum recording duration will reach. API_AVAILABLE(3.26.0).
Declaration
Objective-C
- (void)onAliyunRecorderWillStopWithMaxDuration:(AliyunRecorder *)recorder;
-
* The callback when the maximum recording duration is reached.API_AVAILABLE(3.26.0)
Declaration
Objective-C
- (void)onAliyunRecorderDidStopWithMaxDuration:(AliyunRecorder *)recorder;