Agora RTC Objective-C API Reference Refactor

AgoraMediaRecorderDelegate.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2018 Agora. All rights reserved.
3 //
4
5 #import <Foundation/Foundation.h>
6
7 @class AgoraMediaRecorder;
8 @class AgoraMediaRecorderInfo;
9 typedef NS_ENUM(NSInteger, AgoraMediaRecorderState);
10 typedef NS_ENUM(NSInteger, AgoraMediaRecorderReasonCode);
11
12 @protocol AgoraMediaRecorderDelegate <NSObject>
13 #pragma mark Media Recorder Delegate Methods
14
30 - (void)mediaRecorder:(AgoraMediaRecorder* _Nonnull)recorder stateDidChanged:(NSString * _Nonnull)channelId uid:(NSUInteger)uid state:(AgoraMediaRecorderState)state reason:(AgoraMediaRecorderReasonCode)reason;
31
49 - (void)mediaRecorder:(AgoraMediaRecorder* _Nonnull)recorder informationDidUpdated:(NSString * _Nonnull)channelId uid:(NSUInteger)uid info:(AgoraMediaRecorderInfo* _Nonnull)info;
50
51 @end
AgoraMediaRecorder
Definition: AgoraMediaRecorder.h:14
AgoraMediaRecorderInfo
Recording file information.
Definition: AgoraObjects.h:4190
AgoraMediaRecorderState
AgoraMediaRecorderState
The current recording state.
Definition: AgoraEnumerates.h:5052
AgoraMediaRecorderReasonCode
AgoraMediaRecorderReasonCode
The reason for the state change.
Definition: AgoraEnumerates.h:5069
AgoraMediaRecorderDelegate-p
Definition: AgoraMediaRecorderDelegate.h:12