NIMSDK-AOS  9.16.0
MixPushService.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.mixpush;
2 
3 import android.content.Intent;
4 import com.netease.nimlib.apt.annotation.NIMService;
9 
14 @NIMService("第三方推送服务")
15 public interface MixPushService {
16 
23  public InvocationFuture<Void> enable(boolean enable);
24 
30  boolean isEnable();
31 
43  InvocationFuture<Void> setPushNoDisturbConfig(boolean isOpen, String startTime, String stopTime);
44 
51  InvocationFuture<Void> setPushShowNoDetail(boolean showNoDetail);
52 
58  boolean isPushShowNoDetail();
59 
65  NoDisturbConfig getPushNoDisturbConfig();
66 
72  boolean isPushNoDisturbConfigExist();
73 
80  boolean isFCMIntent(Intent intent);
81 
88  String parseFCMPayload(Intent intent);
89 
93  InvocationFuture<Void> registerPush(boolean fcmPreferred);
94 }
第三方推送服务 目前接入的第三方推送有:小米、华为、魅族、fcm。
免打扰配置,包含是否开启免打扰,免打扰开始时间和结束时间