IConversationBusinessProcessor

会话业务处理器

Functions

Link copied to clipboard
public abstract void init(MessageViewModel messageViewModel, Bundle bundle)
第一次初始化,绑定事件等
Link copied to clipboard
public abstract boolean isHistoryState(MessageViewModel viewModel)
Link copied to clipboard
public abstract boolean isNormalState(MessageViewModel viewModel)
Link copied to clipboard
public abstract void newMentionMessageBarClick(MessageViewModel viewModel)
Link copied to clipboard
public abstract void newMessageBarClick(MessageViewModel viewModel)
Link copied to clipboard
public abstract boolean onBackPressed(MessageViewModel viewModel)
Link copied to clipboard
public abstract void onClearMessage(MessageViewModel viewModel)
Link copied to clipboard
public abstract void onConnectStatusChange(MessageViewModel viewModel, ConnectionStatus status)
Link copied to clipboard
public abstract void onDestroy(MessageViewModel viewModel)
Link copied to clipboard
public abstract void onExistUnreadMessage(MessageViewModel viewModel, Conversation conversation, int unreadMessageCount)
Link copied to clipboard
public abstract void onLoadMessage(MessageViewModel viewModel, List<Message> messages)
Link copied to clipboard
public abstract void onLoadMore(MessageViewModel viewModel)
Link copied to clipboard
public abstract void onMessageItemClick(UiMessage uiMessage)
消息点击事件
Link copied to clipboard
public abstract boolean onMessageItemLongClick(UiMessage uiMessage)
消息长按事件
Link copied to clipboard
public abstract void onMessageReceiptRequest(MessageViewModel viewModel, ConversationType conversationType, String targetId, String messageUId)
Link copied to clipboard
public abstract boolean onReceived(MessageViewModel messageViewModel, UiMessage message, int left, boolean hasPackage, boolean offline)
接收消息回调此接口
Link copied to clipboard
public abstract boolean onReceivedCmd(MessageViewModel messageViewModel, Message message)
接收到命令消息,(MessageTag 为 None 或 Status 的消息)
Link copied to clipboard
public abstract void onRefresh(MessageViewModel viewModel)
Link copied to clipboard
public abstract void onResume(MessageViewModel viewModel)
Link copied to clipboard
public abstract void onScrollToBottom(MessageViewModel viewModel)
Link copied to clipboard
public abstract void onUserPortraitClick(Context context, ConversationType conversationType, UserInfo userInfo, String targetId)
用户头像点击事件
Link copied to clipboard
public abstract boolean onUserPortraitLongClick(Context context, ConversationType conversationType, UserInfo userInfo, String targetId)
用户头像长按事件
Link copied to clipboard
public abstract void unreadBarClick(MessageViewModel viewModel)