1 package com.netease.nimlib.sdk;
3 import android.Manifest;
4 import android.app.Activity;
5 import android.app.NotificationManager;
7 import java.io.Serializable;
12 @SuppressWarnings(
"java:S1104")
25 public boolean ring =
true;
36 public boolean vibrate =
true;
43 public int ledARGB = -1;
50 public int ledOnMs = -1;
57 public int ledOffMs = -1;
63 public boolean hideContent =
false;
69 public boolean downTimeToggle =
false;
87 public boolean downTimeEnableNotification =
true;
101 public boolean titleOnlyShowAppName =
false;
109 public boolean notificationFolded =
true;
126 public boolean showBadge =
true;
150 public boolean highImportance =
false;
String customTitleWhenTeamNameEmpty
如果群名称为null 或者空串,则使用customTitleWhenTeamNameEmpty 作为通知栏title
int notificationColor
消息通知栏颜色,将应用到 NotificationCompat.Builder 的 setColor 方法 对Android 5.0 以后机型会影响到sm...
Class<?extends Activity > notificationEntrance
通知栏提醒的响应intent的activity类型。 可以为null。如果未提供,将使用包的launcher的入口intent的activ...
String downTimeBegin
免打扰的开始时间, 格式为HH:mm(24小时制)。
int notificationSmallIconId
状态栏提醒的小图标的资源ID。 如果不提供,使用app的icon
String notificationSound
响铃提醒的声音资源,如果不提供,使用系统默认提示音。
String downTimeEnd
免打扰的结束时间, 格式为HH:mm(24小时制)。 如果结束时间小于开始时间,免打扰时间为开始时间-24:00-结束...