程序包 cn.leancloud
Enum Class IMHookType
- 所有已实现的接口:
Serializable,Comparable<IMHookType>,java.lang.constant.Constable
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明客户端下线客户端成功登录向对话添加成员,在签名校验(如果开启)之后,实际加入之前,包括主动加入和被其他用户加入两种情况用户加入对话,在加入成功后调用。从对话中踢出成员,在签名校验(如果开启)之后,实际踢出之前,用户自己退出对话不会调用。用户离开对话,在离开成功后调用。创建对话,在签名校验(如果开启)之后,实际创建之前创建对话完成修改对话属性、设置或取消对话消息提醒,在实际修改之前调用消息达到服务器,群组成员已解析完成之后,发送给收件人之前消息发送完成修改消息请求到达云端,云端正式修改消息之前消息发送完成,存在离线的收件人客户端登录启用签名认证时,验证 AV.User 的 sessionToken 后,获取登录签名前调用 -
方法概要
修饰符和类型方法说明static IMHookTypetoString()static IMHookTypeReturns the enum constant of this class with the specified name.static IMHookType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
rtmClientSign
客户端登录启用签名认证时,验证 AV.User 的 sessionToken 后,获取登录签名前调用 -
clientOnline
客户端成功登录 -
clientOffline
客户端下线 -
messageReceived
消息达到服务器,群组成员已解析完成之后,发送给收件人之前 -
receiversOffline
消息发送完成,存在离线的收件人 -
messageSent
消息发送完成 -
messageUpdate
修改消息请求到达云端,云端正式修改消息之前 -
conversationStart
创建对话,在签名校验(如果开启)之后,实际创建之前 -
conversationStarted
创建对话完成 -
conversationAdd
向对话添加成员,在签名校验(如果开启)之后,实际加入之前,包括主动加入和被其他用户加入两种情况 -
conversationRemove
从对话中踢出成员,在签名校验(如果开启)之后,实际踢出之前,用户自己退出对话不会调用。 -
conversationAdded
用户加入对话,在加入成功后调用。 -
conversationRemoved
用户离开对话,在离开成功后调用。 -
conversationUpdate
修改对话属性、设置或取消对话消息提醒,在实际修改之前调用
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
toString
- 覆盖:
toString在类中Enum<IMHookType>
-
parse
-