cn.tee3.avd_SDK-Objectc  2.1.0
AVDUserStatus.h
浏览该文件的文档.
1 //
2 // AVDUserStatus.h
3 // avd_sdk
4 //
5 // Created by skin on 15-9-18.
6 // Copyright (c) 2015年 t3ee. All rights reserved.
7 //
8 
9 #ifndef avd_sdk_AVDUserStatus_h
10 #define avd_sdk_AVDUserStatus_h
11 
12 #import "AVDCommon.h"
13 
15 {
16  microphone_has = 1 << 31,
17  microphone_on = 1 << 30,
18  camera_has = 1 << 29,
19  camera_on = 1 << 28,
20  screen_on = 1 << 25,
22  status_all = 0xFFFFFFFF,
23 };
24 
30 @interface AVDUserStatus : NSObject
31 
32 @property(nonatomic, readonly)NSInteger status;
33 
34 
36 - (BOOL) hasMicrophone;
38 - (BOOL) hasCamera;
40 - (BOOL) isMicrophoneOn;
42 - (BOOL) isCameraOn;
44 - (BOOL) isScreenOn;
52 - (void) setFlag:(enum AVDStatusFlag)flag;
60 - (void) clearFlag:(enum AVDStatusFlag)flag;
61 
62 
63 @end
64 
65 #endif
BOOL isScreenOn()
判断是否屏幕窗口共享已开启
BOOL isCameraOn()
判断是否摄像头已打开
摄像头打开设置位
Definition: AVDUserStatus.h:19
麦克风打开设置位
Definition: AVDUserStatus.h:17
BOOL hasCamera()
判断是否有摄像头设备
所有用户状态位
Definition: AVDUserStatus.h:22
BOOL hasMicrophone()
判断是否有麦克风设备
屏幕窗口共享设置位
Definition: AVDUserStatus.h:20
NSInteger status
Definition: AVDUserStatus.h:32
用户状态结构.
Definition: AVDUserStatus.h:30
AVDStatusFlag
Definition: AVDUserStatus.h:14
BOOL isMicrophoneOn()
判断是否麦克风已打开
拥有麦克风设置位
Definition: AVDUserStatus.h:16
拥有摄像头设置位
Definition: AVDUserStatus.h:18