public enum IMHookType extends Enum<IMHookType>
| Enum Constant and Description |
|---|
conversationAdd
向对话添加成员,在签名校验(如果开启)之后,实际加入之前,包括主动加入和被其他用户加入两种情况
|
conversationRemove
从对话中踢出成员,在签名校验(如果开启)之后,实际踢出之前,用户自己退出对话不会调用。
|
conversationStart
创建对话,在签名校验(如果开启)之后,实际创建之前
|
conversationStarted
创建对话完成
|
conversationUpdate
修改对话属性、设置或取消对话消息提醒,在实际修改之前调用
|
messageReceived
消息达到服务器,群组成员已解析完成之后,发送给收件人之前
|
messageSent
消息发送完成
|
receiversOffline
消息发送完成,存在离线的收件人
|
| Modifier and Type | Method and Description |
|---|---|
static IMHookType |
parse(String functionName) |
String |
toString() |
static IMHookType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IMHookType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IMHookType messageReceived
public static final IMHookType receiversOffline
public static final IMHookType messageSent
public static final IMHookType conversationStart
public static final IMHookType conversationStarted
public static final IMHookType conversationAdd
public static final IMHookType conversationRemove
public static final IMHookType conversationUpdate
public static IMHookType[] values()
for (IMHookType c : IMHookType.values()) System.out.println(c);
public static IMHookType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<IMHookType>public static IMHookType parse(String functionName)
Copyright © 2018. All rights reserved.