AliyunRecorderDelegate
@protocol AliyunRecorderDelegate <NSObject>
录制事件回调 API_AVAILABLE(3.22.0)
-
录制状态发生改变 API_AVAILABLE(3.22.0)
Declaration
Objective-C
- (void)onAliyunRecorder:(AliyunRecorder *)recorder stateDidChange:(AliyunRecorderState)state;
-
预览状态发生改变 API_AVAILABLE(3.22.0)
Declaration
Objective-C
- (void)onAliyunRecorder:(AliyunRecorder *)recorder previewStateDidChange:(BOOL)isPreviewing;
-
录制进度发生改变 API_AVAILABLE(3.22.0)
Declaration
Objective-C
- (void)onAliyunRecorder:(AliyunRecorder *)recorder progressWithDuration:(CGFloat)duration;
-
录制发生了错误 API_AVAILABLE(3.22.0)
Declaration
Objective-C
- (void)onAliyunRecorder:(AliyunRecorder *)recorder occursError:(NSError *)error;
-
即将到达最大时长时回调 API_AVAILABLE(3.26.0)
Declaration
Objective-C
- (void)onAliyunRecorderWillStopWithMaxDuration:(AliyunRecorder *)recorder;
-
当录至最大时长时回调 API_AVAILABLE(3.26.0)
Declaration
Objective-C
- (void)onAliyunRecorderDidStopWithMaxDuration:(AliyunRecorder *)recorder;