NIMSDK-AOS  9.16.0
QChatPushService.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.mixpush;
2 
3 import com.netease.nimlib.apt.annotation.NIMService;
4 import com.netease.nimlib.notifier.support26.annotation.NonNull;
10 
15 @NIMService("圈组推送服务")
16 public interface QChatPushService {
23  InvocationFuture<Void> enable(boolean enable);
24 
30  boolean isEnable();
31 
40  InvocationFuture<Void> setPushNoDisturbConfig(boolean isOpen, String startTime, String stopTime);
41 
48  InvocationFuture<Void> setPushShowNoDetail(boolean showNoDetail);
49 
55  InvocationFuture<Void> setPushMsgType(@NonNull QChatPushMsgType pushMsgType);
56 
62  InvocationFuture<Void> setPushConfig(@NonNull QChatPushConfigParam param);
63 
69  boolean isPushShowNoDetail();
70 
76  NoDisturbConfig getPushNoDisturbConfig();
77 
82  QChatPushMsgType getPushMsgType();
83 
89  QChatPushConfig getPushConfig();
90 
96  boolean isPushConfigExist();
97 }
推送消息类型选项 低等级消息:普通消息等(没有具体目标、没有@意愿) 中等级消息: @所有人等(没有具体目...
免打扰配置,包含是否开启免打扰,免打扰开始时间和结束时间
第三方推送服务 目前接入的第三方推送有:小米、华为、魅族、fcm。