public class BtnDownloadFileEventHandler extends Object
| 构造器和说明 |
|---|
BtnDownloadFileEventHandler(BtnClient btnClient,
DownloadFileOption downloadFileOption) |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<String> |
getDownloadingFileKeys() |
void |
handleDownloadFile(SendMsgResponse sendMsgResponse,
DownloadFileMessageEntity.DownloadFileMessage downloadFileMessage,
Long unionId) |
void |
notifyFileInfo4Failed(DownloadFileDataType downloadFileDataType,
DownloadFileMessageEntity.FileStatusCode statusCode,
SendMsgResponse sendMsgResponse,
Long unionId) |
void |
returnFileInfo4Sucess(DownloadFileDataType downloadFileDataType,
GetFileReqEntity.GetFileReq getFileReq,
DownloadFileMessageEntity.FileStatusCode statusCode,
String filePathResult,
SendMsgResponse sendMsgResponse,
Long unionId,
String unionKey) |
void |
setEventCallBack(IEventCallBack eventCallBack) |
boolean |
start() |
public BtnDownloadFileEventHandler(BtnClient btnClient, DownloadFileOption downloadFileOption)
public void setEventCallBack(IEventCallBack eventCallBack)
public boolean start()
public void handleDownloadFile(SendMsgResponse sendMsgResponse, DownloadFileMessageEntity.DownloadFileMessage downloadFileMessage, Long unionId)
public void notifyFileInfo4Failed(DownloadFileDataType downloadFileDataType, DownloadFileMessageEntity.FileStatusCode statusCode, SendMsgResponse sendMsgResponse, Long unionId)
public void returnFileInfo4Sucess(DownloadFileDataType downloadFileDataType, GetFileReqEntity.GetFileReq getFileReq, DownloadFileMessageEntity.FileStatusCode statusCode, String filePathResult, SendMsgResponse sendMsgResponse, Long unionId, String unionKey)
Copyright © 2022. All rights reserved.