1 package com.netease.nimlib.sdk.qchat.param;
10 private Boolean isPushShowNoDetail;
14 private Boolean isNoDisturbOpen;
18 private String startNoDisturbTime;
22 private String stopNoDisturbTime;
36 public QChatPushConfigParam(Boolean isPushShowNoDetail, Boolean isNoDisturbOpen, String startNoDisturbTime, String stopNoDisturbTime,
38 this.isPushShowNoDetail = isPushShowNoDetail;
39 this.isNoDisturbOpen = isNoDisturbOpen;
40 this.startNoDisturbTime = startNoDisturbTime;
41 this.stopNoDisturbTime = stopNoDisturbTime;
42 this.pushMsgType = pushMsgType;
51 public QChatPushConfigParam(Boolean isNoDisturbOpen, String startNoDisturbTime, String stopNoDisturbTime) {
52 this.isNoDisturbOpen = isNoDisturbOpen;
53 this.startNoDisturbTime = startNoDisturbTime;
54 this.stopNoDisturbTime = stopNoDisturbTime;
62 this.isPushShowNoDetail = isPushShowNoDetail;
70 this.pushMsgType = pushMsgType;
78 return isPushShowNoDetail;
86 return isNoDisturbOpen;
94 return startNoDisturbTime;
102 return stopNoDisturbTime;
118 isPushShowNoDetail = pushShowNoDetail;
126 isNoDisturbOpen = noDisturbOpen;
134 this.startNoDisturbTime = startNoDisturbTime;
142 this.stopNoDisturbTime = stopNoDisturbTime;
150 this.pushMsgType = pushMsgType;
Boolean getNoDisturbOpen()
获取是否开启免打扰
推送消息类型选项 低等级消息:普通消息等(没有具体目标、没有@意愿) 中等级消息: @所有人等(没有具体目...
QChatPushConfigParam(Boolean isNoDisturbOpen, String startNoDisturbTime, String stopNoDisturbTime)
QChatPushMsgType getPushMsgType()
获取消息推送类型选项
QChatPushConfigParam(Boolean isPushShowNoDetail)
void setPushMsgType(QChatPushMsgType pushMsgType)
设置消息推送类型选项
QChatPushConfigParam(QChatPushMsgType pushMsgType)
void setStopNoDisturbTime(String stopNoDisturbTime)
设置免打扰结束时间,格式 HH:mm
void setNoDisturbOpen(Boolean noDisturbOpen)
设置是否开启免打扰
String getStartNoDisturbTime()
获取免打扰开始时间,格式 HH:mm
void setPushShowNoDetail(Boolean pushShowNoDetail)
设置推送是否不显示详情
void setStartNoDisturbTime(String startNoDisturbTime)
设置免打扰开始时间,格式 HH:mm
Boolean getPushShowNoDetail()
获取推送是否不显示详情
String getStopNoDisturbTime()
获取免打扰结束时间,格式 HH:mm
QChatPushConfigParam(Boolean isPushShowNoDetail, Boolean isNoDisturbOpen, String startNoDisturbTime, String stopNoDisturbTime, QChatPushMsgType pushMsgType)