public enum YWConversationType extends java.lang.Enum<YWConversationType>
Enum Constant and Description |
---|
Custom
自定义会话
|
CustomViewConversation
自定义View展示的会话
|
HJTribe
NOT FOR OPENIM
行家群会话
|
P2P
单人聊天会话
|
SHOP
店铺聊天会话或客服聊天会话
|
Tribe
群会话或讨论组会话
|
unknow
未知
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
获取会话类型枚举对应的int值
|
static YWConversationType |
valueOf(int state)
根据[会话类型枚举对应的int值]获取[会话类型]
|
static YWConversationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static YWConversationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YWConversationType unknow
public static final YWConversationType P2P
public static final YWConversationType Tribe
public static final YWConversationType Custom
public static final YWConversationType SHOP
public static final YWConversationType HJTribe
public static final YWConversationType CustomViewConversation
public static YWConversationType[] values()
for (YWConversationType c : YWConversationType.values()) System.out.println(c);
public static YWConversationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static YWConversationType valueOf(int state)
state
- 会话类型枚举对应的int值public int getValue()