Class PublicServiceBusinessProcessor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void init(MessageViewModel messageViewModel, Bundle bundle) 第一次初始化,绑定事件等
      boolean onReceived(MessageViewModel viewModel, UiMessage message, int left, boolean hasPackage, boolean offline) 接收消息回调此接口
      void onExistUnreadMessage(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
    • Constructor Detail

      • PublicServiceBusinessProcessor

        PublicServiceBusinessProcessor()
    • 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:

        是否拦截