Class PublicServiceBusinessProcessor
-
- All Implemented Interfaces:
-
io.rong.imkit.conversation.messgelist.processor.IConversationBusinessProcessor
public class PublicServiceBusinessProcessor extends BaseBusinessProcessor
-
-
Field Summary
Fields Modifier and Type Field Description protected StateContextmState
-
Constructor Summary
Constructors Constructor Description PublicServiceBusinessProcessor()
-
Method Summary
Modifier and Type Method Description voidinit(MessageViewModel messageViewModel, Bundle bundle)第一次初始化,绑定事件等 booleanonReceived(MessageViewModel viewModel, UiMessage message, int left, boolean hasPackage, boolean offline)接收消息回调此接口 voidonExistUnreadMessage(MessageViewModel viewModel, Conversation conversation, int unreadMessageCount)-
Methods inherited from class io.rong.imkit.conversation.messgelist.processor.BaseBusinessProcessor
getHistoryMessageCount, isHistoryState, isNormalState, newMentionMessageBarClick, newMessageBarClick, onBackPressed, onClearMessage, onConnectStatusChange, onDestroy, onLoadMessage, onLoadMore, onMessageItemClick, onMessageItemLongClick, onMessageReceiptRequest, onReceivedCmd, onRefresh, onResume, onScrollToBottom, onUserPortraitClick, onUserPortraitLongClick, unreadBarClick -
Methods inherited from class io.rong.imkit.conversation.messgelist.processor.IConversationBusinessProcessor
onReceived -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
init
void init(MessageViewModel messageViewModel, Bundle bundle)
第一次初始化,绑定事件等
- Parameters:
messageViewModel- 消息处理类bundle- 上一个页面传递过来的 bundle
-
onReceived
boolean onReceived(MessageViewModel viewModel, UiMessage message, int left, boolean hasPackage, boolean offline)
接收消息回调此接口
- Returns:
是否拦截
-
onExistUnreadMessage
void onExistUnreadMessage(MessageViewModel viewModel, Conversation conversation, int unreadMessageCount)
-
-
-
-