cn.tee3.avd_SDK-Objectc  2.1.0
AVDRecord.h
浏览该文件的文档.
1 //
2 // AVDRecord.h
3 // avd_sdk
4 //
5 // Created by skin on 15-7-21.
6 // Copyright (c) 2015年 t3ee. All rights reserved.
7 //
8 
9 #ifndef avd_sdk_AVDRecord_h
10 #define avd_sdk_AVDRecord_h
11 
12 #import "AVDCommon.h"
13 
14 
15 @class AVDRecordInfo;
16 
22 @protocol AVDRecordDelegate<NSObject>
23 
24 @optional
26 
33 - (void) onCreateUserRecord:(AVDResult)result info:(AVDRecordInfo*)info;
41 - (void) onStopRecord:(AVDResult)result id:(AVDRecordId)recordId;
42 
44 
51 - (void) onRecordInfo:(AVDResult)result info:(AVDRecordInfo*)info;
61 - (void) onRecordInfos:(AVDResult)result total:(NSInteger)total begin:(NSInteger)begin infos:(NSArray*)items;
69 - (void) onDeleteRecord:(AVDResult)result id:(AVDRecordId)recordId;
70 
71 @end
72 
73 
79 @interface AVDRecord : NSObject
80 
81 
82 @property (nonatomic,weak) id <AVDRecordDelegate>delegate;
89 + (AVDRecord*) instance;
92 + (AVDResult) destory;
93 
103 - (AVDResult) createUserRecord:(AVDRecordInfo*)info;
111 - (AVDResult) stopRecord:(AVDRecordId)recordId;
112 
120 - (AVDResult) getRecordInfo:(AVDRecordId)recordId;
130 - (AVDResult) findRecordInfos:(NSInteger)begindex count:(NSInteger)ncount filter:(NSString*)filter;
138 - (AVDResult) deleteRecord:(AVDRecordId)recordId;
139 
140 #ifndef DOXYGEN_SHOULD_SKIP_THIS
141 // Disallow init and don't add to documentation
142 - (id)init __attribute__((
143  unavailable("init is not a supported initializer for this class.")));
144 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
145 
146 @end
147 
148 #endif
录制数据结构.
Definition: AVDRecordInfo.h:43
录制回调接口类
Definition: AVDRecord.h:22
(unavailable("init is not a supported initializer for this class." __attribute__()
AVDRecord * instance()
获取AVD录制对象
NSInteger AVDResult
Definition: AVDCommon.h:14
NSString * AVDRecordId
Definition: AVDCommon.h:18
初始状态
Definition: AVDRoomInfo.h:37
录制管理接口.
Definition: AVDRecord.h:79
id< AVDRecordDelegate > delegate
录制回调代理
Definition: AVDRecord.h:82
AVDResult destory()
释放AVD录制对象