public enum IMHookType extends Enum<IMHookType>
Enum Constant and Description |
---|
clientOffline
客户端下线
|
clientOnline
客户端成功登录
|
conversationAdd
向对话添加成员,在签名校验(如果开启)之后,实际加入之前,包括主动加入和被其他用户加入两种情况
|
conversationAdded
用户加入对话,在加入成功后调用。
|
conversationRemove
从对话中踢出成员,在签名校验(如果开启)之后,实际踢出之前,用户自己退出对话不会调用。
|
conversationRemoved
用户离开对话,在离开成功后调用。
|
conversationStart
创建对话,在签名校验(如果开启)之后,实际创建之前
|
conversationStarted
创建对话完成
|
conversationUpdate
修改对话属性、设置或取消对话消息提醒,在实际修改之前调用
|
messageReceived
消息达到服务器,群组成员已解析完成之后,发送给收件人之前
|
messageSent
消息发送完成
|
messageUpdate
修改消息请求到达云端,云端正式修改消息之前
|
receiversOffline
消息发送完成,存在离线的收件人
|
rtmClientSign
客户端登录启用签名认证时,验证 AV.User 的 sessionToken 后,获取登录签名前调用
|
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 rtmClientSign
public static final IMHookType clientOnline
public static final IMHookType clientOffline
public static final IMHookType messageReceived
public static final IMHookType receiversOffline
public static final IMHookType messageSent
public static final IMHookType messageUpdate
public static final IMHookType conversationStart
public static final IMHookType conversationStarted
public static final IMHookType conversationAdd
public static final IMHookType conversationRemove
public static final IMHookType conversationAdded
public static final IMHookType conversationRemoved
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 © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.