NIMSDK-AOS
10.4.0-beta
载入中...
搜索中...
未找到
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
param
QChatApplyServerJoinParam.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.param;
2
3
import
androidx.annotation.NonNull;
4
5
/**
6
* "申请加入服务器"接口入参
7
*/
8
public
class
QChatApplyServerJoinParam
extends
QChatServerJoinParam{
9
10
/**
11
* 申请加入的服务器Id
12
*/
13
@NonNull
14
private
final
Long serverId;
15
16
/**
17
* 附言(最长5000)
18
*/
19
@NonNull
20
private
String postscript =
""
;
21
22
/**
23
*
24
* @param serverId 申请加入的服务器Id
25
*/
26
public
QChatApplyServerJoinParam
(
long
serverId) {
27
this.serverId = serverId;
28
}
29
30
/**
31
* 获取申请加入的服务器Id
32
* @return
33
*/
34
@NonNull
35
public
Long
getServerId
() {
36
return
serverId;
37
}
38
39
/**
40
* 获取附言
41
* @return
42
*/
43
@NonNull
44
public
String
getPostscript
() {
45
return
postscript;
46
}
47
48
/**
49
* 设置附言(最长5000)
50
* @param postscript
51
*/
52
public
void
setPostscript
(@NonNull String postscript) {
53
this.postscript = postscript;
54
}
55
56
/**
57
* 获取有效时长
58
* @return
59
*/
60
@Override
61
public
Long
getTtl
() {
62
return
super.getTtl();
63
}
64
65
/**
66
* 设置有效时长
67
* @param ttl
68
*/
69
@Override
70
public
void
setTtl
(Long ttl) {
71
super.setTtl(ttl);
72
}
73
}
com.netease.nimlib.sdk.qchat.param.QChatApplyServerJoinParam
"申请加入服务器"接口入参
Definition:
QChatApplyServerJoinParam.java:8
com.netease.nimlib.sdk.qchat.param.QChatApplyServerJoinParam.getServerId
Long getServerId()
获取申请加入的服务器Id
Definition:
QChatApplyServerJoinParam.java:35
com.netease.nimlib.sdk.qchat.param.QChatApplyServerJoinParam.setPostscript
void setPostscript(@NonNull String postscript)
设置附言(最长5000)
Definition:
QChatApplyServerJoinParam.java:52
com.netease.nimlib.sdk.qchat.param.QChatApplyServerJoinParam.getPostscript
String getPostscript()
获取附言
Definition:
QChatApplyServerJoinParam.java:44
com.netease.nimlib.sdk.qchat.param.QChatApplyServerJoinParam.setTtl
void setTtl(Long ttl)
设置有效时长
Definition:
QChatApplyServerJoinParam.java:70
com.netease.nimlib.sdk.qchat.param.QChatApplyServerJoinParam.getTtl
Long getTtl()
获取有效时长
Definition:
QChatApplyServerJoinParam.java:61
com.netease.nimlib.sdk.qchat.param.QChatApplyServerJoinParam.QChatApplyServerJoinParam
QChatApplyServerJoinParam(long serverId)
Definition:
QChatApplyServerJoinParam.java:26
生成于 2024年 八月 21日 星期三 18:18:02 , 为 NIMSDK-AOS使用
1.9.5