語言

Notification.PriorityHigh 欄位

定義

此常數在 API 等級 26 中被棄用。

[Android.Runtime.Register("PRIORITY_HIGH")]
public const Android.App.NotificationPriority PriorityHigh = 1;
[<Android.Runtime.Register("PRIORITY_HIGH")>]
val mutable PriorityHigh : Android.App.NotificationPriority

欄位值

Value = 1

實作

屬性

備註

此常數在 API 等級 26 中被棄用。 用NotificationManager.IMPORTANCE_HIGH吧。

優先權較高,用於更重要的通知或警示。 使用者介面可能會選擇將這些項目顯示得更大,或在通知列表中顯示不同位置,與應用程式的PRIORITY_DEFAULT項目不同。

Android 參考資料。android.app.Notification.PRIORITY_HIGH

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於