NIMSDK-AOS
9.16.0
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
param
QChatUpdateUserServerPushConfigParam.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.param;
2
3
import
androidx.annotation.NonNull;
4
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
enums
.
QChatPushMsgType
;
5
9
public
class
QChatUpdateUserServerPushConfigParam
extends
QChatUpdateUserPushConfigParam
{
10
14
@NonNull
15
private
final
Long serverId;
16
21
public
QChatUpdateUserServerPushConfigParam
(@NonNull
long
serverId, @NonNull
QChatPushMsgType
pushMsgType
) {
22
super(pushMsgType);
23
this.serverId = serverId;
24
}
25
30
@NonNull
31
public
Long
getServerId
() {
32
return
serverId;
33
}
34
39
@Override
40
@NonNull
41
public
QChatPushMsgType
getPushMsgType
() {
42
return
super.getPushMsgType();
43
}
44
49
public
boolean
isValid
(){
50
if
(serverId <= 0){
51
return
false
;
52
}
53
54
if
(
getPushMsgType
() == null){
55
return
false
;
56
}
57
58
return
true
;
59
}
60
61
@Override
62
public
String
toString
() {
63
return
"QChatUpdateUserServerPushConfigParam{"
+
64
"pushMsgType="
+
pushMsgType
+
65
", serverId="
+ serverId +
66
'}'
;
67
}
68
}
com.netease.nimlib.sdk.qchat.param.QChatUpdateUserServerPushConfigParam.getServerId
Long getServerId()
获取服务器Id
Definition:
QChatUpdateUserServerPushConfigParam.java:31
com.netease.nimlib.sdk.qchat.enums.QChatPushMsgType
推送消息类型选项 低等级消息:普通消息等(没有具体目标、没有@意愿) 中等级消息: @所有人等(没有具体目...
Definition:
QChatPushMsgType.java:7
com.netease.nimlib.sdk
Definition:
RequestCallback.java:1
com.netease
com
com.netease.nimlib.sdk.qchat.param.QChatUpdateUserServerPushConfigParam.toString
String toString()
Definition:
QChatUpdateUserServerPushConfigParam.java:62
com.netease.nimlib.sdk.qchat.param.QChatUpdateUserServerPushConfigParam.QChatUpdateUserServerPushConfigParam
QChatUpdateUserServerPushConfigParam(@NonNull long serverId, @NonNull QChatPushMsgType pushMsgType)
Definition:
QChatUpdateUserServerPushConfigParam.java:21
com.netease.nimlib.sdk.qchat.enums
Definition:
QChatPushMsgType.java:1
com.netease.nimlib.sdk.qchat.param.QChatUpdateUserServerPushConfigParam
"更新用户服务器推送配置"接口入参
Definition:
QChatUpdateUserServerPushConfigParam.java:9
com.netease.nimlib.sdk.qchat.param.QChatUpdateUserServerPushConfigParam.isValid
boolean isValid()
参数是否合法
Definition:
QChatUpdateUserServerPushConfigParam.java:49
com.netease.nimlib.sdk.qchat
com.netease.nimlib.sdk.qchat.param.QChatUpdateUserServerPushConfigParam.getPushMsgType
QChatPushMsgType getPushMsgType()
获取推送消息类型选项
Definition:
QChatUpdateUserServerPushConfigParam.java:41
com.netease.nimlib.sdk.qchat.param.QChatUpdateUserPushConfigParam
"更新用户推送配置"接口入参
Definition:
QChatUpdateUserPushConfigParam.java:9
com.netease.nimlib.sdk.qchat.param.QChatUpdateUserPushConfigParam.pushMsgType
final QChatPushMsgType pushMsgType
推送消息类型选项
Definition:
QChatUpdateUserPushConfigParam.java:15
com.netease.nimlib
生成于 2024年 四月 16日 星期二 14:41:40 , 为 NIMSDK-AOS使用
1.8.13