NotificationManager.ImportanceMin 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.App.NotificationImportance enum directly instead of this field.
最小通知重要性:仅在折叠下方的阴影中显示。
[Android.Runtime.Register("IMPORTANCE_MIN", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationImportance enum directly instead of this field.", true)]
public const Android.App.NotificationImportance ImportanceMin = 1;
[<Android.Runtime.Register("IMPORTANCE_MIN", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationImportance enum directly instead of this field.", true)>]
val mutable ImportanceMin : Android.App.NotificationImportance
字段值
Value = 1- 特性
注解
最小通知重要性:仅在折叠下方的阴影中显示。 这不应与 Service.startForeground 一起使用,因为前台服务应该是用户关心的,因此,将通知标记为最小重要性没有语义意义。 如果从 Android 版本Build.VERSION_CODES执行此操作。O,系统将显示有关在后台运行的应用的更高优先级通知。
Android 参考。android.app.NotificationManager.IMPORTANCE_MIN
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。