public class QChatRoleResource
extends java.lang.Object
构造器和说明 |
---|
QChatRoleResource(int resource,
int type) |
限定符和类型 | 方法和说明 |
---|---|
int |
compareTo(QChatRoleResource o)
模拟枚举类型的对比方法
|
boolean |
equals(java.lang.Object o) |
static QChatRoleResource |
getByName(java.lang.String name) |
static QChatRoleResource |
getByValue(int value) |
java.lang.Class<QChatRoleResource> |
getDeclaringClass()
模拟枚举类型的对应方法
|
int |
hashCode() |
boolean |
isAllPermission()
是否是Server和Channel都拥有的权限
|
boolean |
isOnlyChannelPermission()
是否是仅Channel才拥有的权限
|
boolean |
isOnlyServerPermission()
是否是仅Server才拥有的权限
|
java.lang.String |
name() |
int |
ordinal() |
java.lang.String |
toString() |
int |
value() |
static QChatRoleResource |
valueOf(java.lang.String name) |
static QChatRoleResource[] |
values() |
public static final QChatRoleResource MANAGE_SERVER
public static final QChatRoleResource MANAGE_CHANNEL
public static final QChatRoleResource MANAGE_ROLE
public static final QChatRoleResource SEND_MSG
public static final QChatRoleResource ACCOUNT_INFO_SELF
public static final QChatRoleResource INVITE_SERVER
public static final QChatRoleResource KICK_SERVER
public static final QChatRoleResource ACCOUNT_INFO_OTHER
public static final QChatRoleResource RECALL_MSG
public static final QChatRoleResource DELETE_MSG
public static final QChatRoleResource REMIND_OTHER
public static final QChatRoleResource REMIND_EVERYONE
public static final QChatRoleResource MANAGE_BLACK_WHITE_LIST
public static final QChatRoleResource BAN_SERVER_MEMBER
public static final QChatRoleResource RTC_CHANNEL_CONNECT
public static final QChatRoleResource RTC_CHANNEL_DISCONNECT_OTHER
public static final QChatRoleResource RTC_CHANNEL_OPEN_MICROPHONE
public static final QChatRoleResource RTC_CHANNEL_OPEN_CAMERA
public static final QChatRoleResource RTC_CHANNEL_OPEN_CLOSE_OTHER_MICROPHONE
public static final QChatRoleResource RTC_CHANNEL_OPEN_CLOSE_OTHER_CAMERA
public static final QChatRoleResource RTC_CHANNEL_OPEN_CLOSE_EVERYONE_MICROPHONE
public static final QChatRoleResource RTC_CHANNEL_OPEN_CLOSE_EVERYONE_CAMERA
public static final QChatRoleResource RTC_CHANNEL_OPEN_SCREEN_SHARE
public static final QChatRoleResource RTC_CHANNEL_CLOSE_OTHER_SCREEN_SHARE
public static final QChatRoleResource SERVER_APPLY_HANDLE
public static final QChatRoleResource INVITE_APPLY_HISTORY_QUERY
public static final QChatRoleResource MENTIONED_ROLE
public final java.lang.String name
Enum.name()
public final int ordinal
Enum.ordinal()
public int value()
public boolean isOnlyServerPermission()
public boolean isOnlyChannelPermission()
public boolean isAllPermission()
public java.lang.String name()
Enum.name()
public int ordinal()
Enum.ordinal()
public int compareTo(QChatRoleResource o)
o
- 对比项Enum.compareTo(Enum)
public final java.lang.Class<QChatRoleResource> getDeclaringClass()
Enum.getDeclaringClass()
public java.lang.String toString()
toString
在类中 java.lang.Object
public boolean equals(java.lang.Object o)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object
public static QChatRoleResource getByValue(int value)
public static QChatRoleResource getByName(java.lang.String name)
public static QChatRoleResource[] values()
public static QChatRoleResource valueOf(java.lang.String name)