public static interface RongIM.ConversationClickListener
限定符和类型 | 方法和说明 |
---|---|
boolean |
onMessageClick(Context context,
View view,
Message message)
当点击消息时执行。
|
boolean |
onMessageLinkClick(Context context,
java.lang.String link,
Message message)
当点击链接消息时执行。
|
boolean |
onMessageLongClick(Context context,
View view,
Message message)
当长按消息时执行。
|
boolean |
onUserPortraitClick(Context context,
Conversation.ConversationType conversationType,
UserInfo user,
java.lang.String targetId)
当点击用户头像后执行。
|
boolean |
onUserPortraitLongClick(Context context,
Conversation.ConversationType conversationType,
UserInfo user,
java.lang.String targetId)
当长按用户头像后执行。
|
boolean onUserPortraitClick(Context context, Conversation.ConversationType conversationType, UserInfo user, java.lang.String targetId)
context
- 上下文。conversationType
- 会话类型。user
- 被点击的用户的信息。targetId
- 会话 idboolean onUserPortraitLongClick(Context context, Conversation.ConversationType conversationType, UserInfo user, java.lang.String targetId)
context
- 上下文。conversationType
- 会话类型。user
- 被点击的用户的信息。targetId
- 会话 idboolean onMessageClick(Context context, View view, Message message)
context
- 上下文。view
- 触发点击的 View。message
- 被点击的消息的实体信息。boolean onMessageLinkClick(Context context, java.lang.String link, Message message)
context
- 上下文。link
- 被点击的链接。message
- 被点击的消息的实体信息boolean onMessageLongClick(Context context, View view, Message message)
context
- 上下文。view
- 触发点击的 View。message
- 被长按的消息的实体信息。Copyright © 2020 RongCloud. All Rights Reserved.