NIMSDK-AOS
9.19.0
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
param
QChatDownloadAttachmentParam.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.param;
2
3
import
androidx.annotation.NonNull;
4
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
model
.
QChatMessage
;
5
6
/**
7
* "下载附件"接口入参
8
*/
9
public
class
QChatDownloadAttachmentParam
{
10
11
/**
12
* 消息体
13
*/
14
@NonNull
15
private
final
QChatMessage
message;
16
/**
17
* 下载缩略图还是原文件。为true时,仅下载缩略图
18
*/
19
@NonNull
20
private
final
boolean
thumb;
21
22
/**
23
*
24
* @param message 消息体
25
* @param thumb 下载缩略图还是原文件。为true时,仅下载缩略图
26
*/
27
public
QChatDownloadAttachmentParam
(@NonNull
QChatMessage
message,
boolean
thumb) {
28
this.message = message;
29
this.thumb = thumb;
30
}
31
32
/**
33
*
34
* @return
35
*/
36
@NonNull
37
public
QChatMessage
getMessage
() {
38
return
message;
39
}
40
41
public
boolean
isThumb
() {
42
return
thumb;
43
}
44
}
com.netease.nimlib.sdk.qchat.param.QChatDownloadAttachmentParam.isThumb
boolean isThumb()
Definition:
QChatDownloadAttachmentParam.java:41
com.netease.nimlib.sdk.qchat.param.QChatDownloadAttachmentParam
"下载附件"接口入参
Definition:
QChatDownloadAttachmentParam.java:9
com.netease.nimlib.sdk
Definition:
RequestCallback.java:1
com.netease.nimlib.sdk.qchat.param.QChatDownloadAttachmentParam.QChatDownloadAttachmentParam
QChatDownloadAttachmentParam(@NonNull QChatMessage message, boolean thumb)
Definition:
QChatDownloadAttachmentParam.java:27
com.netease
com
com.netease.nimlib.sdk.qchat.param.QChatDownloadAttachmentParam.getMessage
QChatMessage getMessage()
Definition:
QChatDownloadAttachmentParam.java:37
com.netease.nimlib.sdk.qchat.model
Definition:
QChatPushConfig.java:1
com.netease.nimlib.sdk.qchat
com.netease.nimlib.sdk.qchat.model.QChatMessage
圈组消息
Definition:
QChatMessage.java:11
com.netease.nimlib
生成于 2024年 十月 16日 星期三 10:25:06 , 为 NIMSDK-AOS使用
1.8.13