音视频通讯SDK API参考手册  iOS 1.6.0
QAVEndpoint.h
1 //
2 // QAVEndpoint.h
3 // QAVSDK
4 //
5 // Created by xianhuan on 15/7/18.
6 // Copyright (c) 2015年 xianhuan. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "QAVSDK/QAVContext.h"
11 
12 @class QAVContext;
13 
17 typedef void (^requestViewBlock)(QAVResult result);
18 
22 typedef void (^RequestViewListBlock)(QAVResult result);
23 
27 typedef void (^CancelViewListBlock)(QAVResult result);
28 
29 
33 @interface QAVEndpoint : NSObject{
34 }
35 
36 @property(readonly,nonatomic)NSString*identifier;
37 @property(readonly,nonatomic)BOOL isAudio;
38 @property(readonly,nonatomic)BOOL isCameraVideo;
39 @property(readonly,nonatomic)BOOL isScreenVideo;
40 
41 
42 
58 +(int)requsetViewList:(QAVContext*)context identifierList:(NSArray*)identifierList srcTypeList:(NSArray*)srcTypeList ret:(RequestViewListBlock)block;
59 
73 +(int)cancelAllview:(QAVContext*)context ret:(CancelViewListBlock)block;
74 
89 -(QAVResult)requestView:(requestViewBlock)block;
90 
102 -(QAVResult)cancelView:(requestViewBlock)block;
103 
104 
105 @end
AVContext对象封装类,代表着一个SDK运行实例
Definition: QAVContext.h:39
房间成员的封装类
Definition: QAVEndpoint.h:33