程序包 rtc
类 RolePrivilege
java.lang.Object
rtc.RolePrivilege
Created by Administrator on 2015/8/26.
-
嵌套类概要
-
字段概要
修饰符和类型字段说明static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
构造器概要
-
方法概要
修饰符和类型方法说明static int
clearFlag
(int value, int flag) int
getRolePrivileges
(String role) static boolean
hasFlag
(int value, int flag) boolean
hasPrivilege
(int privilege) boolean
int
setDefaultRole
(String role) static int
setFlag
(int value, int flag) int
updateRolePrivileges
(String role, int privileges) int
updateUserPrivileges
(String userId, int privileges) int
updateUserRole
(String userId, String role)
-
字段详细资料
-
privilege_room_grantprivilege
public static final int privilege_room_grantprivilege- 另请参阅:
-
privilege_chat_publicsmessage
public static final int privilege_chat_publicsmessage- 另请参阅:
-
privilege_chat_privatemessage
public static final int privilege_chat_privatemessage- 另请参阅:
-
privilege_audio_openmicrophone
public static final int privilege_audio_openmicrophone- 另请参阅:
-
privilege_audio_openremotemicrophone
public static final int privilege_audio_openremotemicrophone- 另请参阅:
-
privilege_video_subscriblecamera
public static final int privilege_video_subscriblecamera- 另请参阅:
-
privilege_video_publishcamera
public static final int privilege_video_publishcamera- 另请参阅:
-
privilege_video_publishremotecamera
public static final int privilege_video_publishremotecamera- 另请参阅:
-
privilege_video_setpublishcapbility
public static final int privilege_video_setpublishcapbility- 另请参阅:
-
privilege_screen_publishscreen
public static final int privilege_screen_publishscreen- 另请参阅:
-
privilege_room_updateappdata
public static final int privilege_room_updateappdata- 另请参阅:
-
privilege_room_closeroom
public static final int privilege_room_closeroom- 另请参阅:
-
privilege_room_updateroomstatus
public static final int privilege_room_updateroomstatus- 另请参阅:
-
privilege_room_kickoutuser
public static final int privilege_room_kickoutuser- 另请参阅:
-
privilege_room_grantrole
public static final int privilege_room_grantrole- 另请参阅:
-
privilege_room_updateroleprivilege
public static final int privilege_room_updateroleprivilege- 另请参阅:
-
-
构造器详细资料
-
RolePrivilege
public RolePrivilege()
-
-
方法详细资料
-
setFlag
public static int setFlag(int value, int flag) -
clearFlag
public static int clearFlag(int value, int flag) -
hasFlag
public static boolean hasFlag(int value, int flag) -
setDefaultRole
-
getDefaultRole
-
updateRolePrivileges
-
getRolePrivileges
-
updateUserRole
-
updateUserPrivileges
-
isRole
-
hasPrivilege
public boolean hasPrivilege(int privilege)
-