Package cn.leancloud
Enum Class IMHookType
- All Implemented Interfaces:
Serializable,Comparable<IMHookType>,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription客户端下线客户端成功登录向对话添加成员,在签名校验(如果开启)之后,实际加入之前,包括主动加入和被其他用户加入两种情况用户加入对话,在加入成功后调用。从对话中踢出成员,在签名校验(如果开启)之后,实际踢出之前,用户自己退出对话不会调用。用户离开对话,在离开成功后调用。创建对话,在签名校验(如果开启)之后,实际创建之前创建对话完成修改对话属性、设置或取消对话消息提醒,在实际修改之前调用消息达到服务器,群组成员已解析完成之后,发送给收件人之前消息发送完成修改消息请求到达云端,云端正式修改消息之前消息发送完成,存在离线的收件人客户端登录启用签名认证时,验证 AV.User 的 sessionToken 后,获取登录签名前调用 -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Enum Constant Details
-
rtmClientSign
客户端登录启用签名认证时,验证 AV.User 的 sessionToken 后,获取登录签名前调用 -
clientOnline
客户端成功登录 -
clientOffline
客户端下线 -
messageReceived
消息达到服务器,群组成员已解析完成之后,发送给收件人之前 -
receiversOffline
消息发送完成,存在离线的收件人 -
messageSent
消息发送完成 -
messageUpdate
修改消息请求到达云端,云端正式修改消息之前 -
conversationStart
创建对话,在签名校验(如果开启)之后,实际创建之前 -
conversationStarted
创建对话完成 -
conversationAdd
向对话添加成员,在签名校验(如果开启)之后,实际加入之前,包括主动加入和被其他用户加入两种情况 -
conversationRemove
从对话中踢出成员,在签名校验(如果开启)之后,实际踢出之前,用户自己退出对话不会调用。 -
conversationAdded
用户加入对话,在加入成功后调用。 -
conversationRemoved
用户离开对话,在离开成功后调用。 -
conversationUpdate
修改对话属性、设置或取消对话消息提醒,在实际修改之前调用
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- 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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<IMHookType>
-
parse
-