NIMSDK-AOS  9.16.3
QChatPushConfigParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
4 
5 public class QChatPushConfigParam {
6 
10  private Boolean isPushShowNoDetail;
14  private Boolean isNoDisturbOpen;
18  private String startNoDisturbTime;
22  private String stopNoDisturbTime;
26  private QChatPushMsgType pushMsgType;
27 
36  public QChatPushConfigParam(Boolean isPushShowNoDetail, Boolean isNoDisturbOpen, String startNoDisturbTime, String stopNoDisturbTime,
37  QChatPushMsgType pushMsgType) {
38  this.isPushShowNoDetail = isPushShowNoDetail;
39  this.isNoDisturbOpen = isNoDisturbOpen;
40  this.startNoDisturbTime = startNoDisturbTime;
41  this.stopNoDisturbTime = stopNoDisturbTime;
42  this.pushMsgType = pushMsgType;
43  }
44 
51  public QChatPushConfigParam(Boolean isNoDisturbOpen, String startNoDisturbTime, String stopNoDisturbTime) {
52  this.isNoDisturbOpen = isNoDisturbOpen;
53  this.startNoDisturbTime = startNoDisturbTime;
54  this.stopNoDisturbTime = stopNoDisturbTime;
55  }
56 
61  public QChatPushConfigParam(Boolean isPushShowNoDetail) {
62  this.isPushShowNoDetail = isPushShowNoDetail;
63  }
64 
69  public QChatPushConfigParam(QChatPushMsgType pushMsgType) {
70  this.pushMsgType = pushMsgType;
71  }
72 
77  public Boolean getPushShowNoDetail() {
78  return isPushShowNoDetail;
79  }
80 
85  public Boolean getNoDisturbOpen() {
86  return isNoDisturbOpen;
87  }
88 
93  public String getStartNoDisturbTime() {
94  return startNoDisturbTime;
95  }
96 
101  public String getStopNoDisturbTime() {
102  return stopNoDisturbTime;
103  }
104 
110  return pushMsgType;
111  }
112 
117  public void setPushShowNoDetail(Boolean pushShowNoDetail) {
118  isPushShowNoDetail = pushShowNoDetail;
119  }
120 
125  public void setNoDisturbOpen(Boolean noDisturbOpen) {
126  isNoDisturbOpen = noDisturbOpen;
127  }
128 
133  public void setStartNoDisturbTime(String startNoDisturbTime) {
134  this.startNoDisturbTime = startNoDisturbTime;
135  }
136 
141  public void setStopNoDisturbTime(String stopNoDisturbTime) {
142  this.stopNoDisturbTime = stopNoDisturbTime;
143  }
144 
149  public void setPushMsgType(QChatPushMsgType pushMsgType) {
150  this.pushMsgType = pushMsgType;
151  }
152 }
推送消息类型选项 低等级消息:普通消息等(没有具体目标、没有@意愿) 中等级消息: @所有人等(没有具体目...
QChatPushConfigParam(Boolean isNoDisturbOpen, String startNoDisturbTime, String stopNoDisturbTime)
QChatPushMsgType getPushMsgType()
获取消息推送类型选项
void setPushMsgType(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)