我在使用通知频道,发现模拟器的频道重要性级别不适合x
常量。
NotificationManager:
NotificationManager
仿真器:
我通过以下方式检索了重要性级别:
public static final int IMPORTANCE_MIN = 1;
public static final int IMPORTANCE_LOW = 2;
public static final int IMPORTANCE_DEFAULT = 3;
public static final int IMPORTANCE_HIGH = 4;
public static final int IMPORTANCE_MAX = 5;
我想念什么吗?