语言

Notification.PriorityDefault 字段

定义

API 级别 26 中已弃用此常量。

[Android.Runtime.Register("PRIORITY_DEFAULT")]
public const Android.App.NotificationPriority PriorityDefault = 0;
[<Android.Runtime.Register("PRIORITY_DEFAULT")>]
val mutable PriorityDefault : Android.App.NotificationPriority

字段值

Value = 0

实现

特性

注解

API 级别 26 中已弃用此常量。 请改用NotificationManager.IMPORTANCE_DEFAULT。

默认通知优先级。 如果应用程序不确定自己的通知的优先级,请将此值用于所有通知。

Android 参考。android.app.Notification.PRIORITY_DEFAULT

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于