类 EaseChatHistoryPresenter
- java.lang.Object
-
- io.agora.chat.uikit.base.EaseBasePresenter
-
- io.agora.chat.uikit.chathistory.presenter.EaseChatHistoryPresenter
-
- 所有已实现的接口:
androidx.lifecycle.LifecycleObserver
- 直接已知子类:
EaseChatHistoryPresenterImpl
public abstract class EaseChatHistoryPresenter extends EaseBasePresenter
-
-
字段概要
字段 修饰符和类型 字段 说明 io.agora.chat.ConversationconversationIChatHistoryLayoutViewmView
-
构造器概要
构造器 构造器 说明 EaseChatHistoryPresenter()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 voidattachView(ILoadDataView view)voiddetachView()abstract voiddownloadCombineMessage(io.agora.chat.ChatMessage combinedMessage)Download and parse combine messageabstract voiddownloadThumbnail(io.agora.chat.ChatMessage message, int position)Download image thumbnail.abstract voiddownloadVoice(io.agora.chat.ChatMessage message, int position)Download voice attachment.voidonDestroy()
-
-
-
字段详细资料
-
mView
public IChatHistoryLayoutView mView
-
conversation
public io.agora.chat.Conversation conversation
-
-
方法详细资料
-
attachView
public void attachView(ILoadDataView view)
- 指定者:
attachView在类中EaseBasePresenter
-
detachView
public void detachView()
- 指定者:
detachView在类中EaseBasePresenter
-
onDestroy
public void onDestroy()
- 覆盖:
onDestroy在类中EaseBasePresenter
-
downloadCombineMessage
public abstract void downloadCombineMessage(io.agora.chat.ChatMessage combinedMessage)
Download and parse combine message- 参数:
combinedMessage-
-
downloadThumbnail
public abstract void downloadThumbnail(io.agora.chat.ChatMessage message, int position)Download image thumbnail.- 参数:
message-position-
-
downloadVoice
public abstract void downloadVoice(io.agora.chat.ChatMessage message, int position)Download voice attachment.- 参数:
message-position-
-
-