程序包 rtc

类 RolePrivilege

java.lang.Object
rtc.RolePrivilege

public class RolePrivilege extends Object
Created by Administrator on 2015/8/26.
  • 字段详细资料

    • 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

      public int setDefaultRole(String role)
    • getDefaultRole

      public String getDefaultRole()
    • updateRolePrivileges

      public int updateRolePrivileges(String role, int privileges)
    • getRolePrivileges

      public int getRolePrivileges(String role)
    • updateUserRole

      public int updateUserRole(String userId, String role)
    • updateUserPrivileges

      public int updateUserPrivileges(String userId, int privileges)
    • isRole

      public boolean isRole(String value)
    • hasPrivilege

      public boolean hasPrivilege(int privilege)