語言

Notification.PriorityMax 欄位

定義

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

[Android.Runtime.Register("PRIORITY_MAX")]
public const Android.App.NotificationPriority PriorityMax = 2;
[<Android.Runtime.Register("PRIORITY_MAX")>]
val mutable PriorityMax : Android.App.NotificationPriority

欄位值

Value = 2

實作

屬性

備註

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

最高優先權,適用於應用程式中最重要、需要使用者即時關注或輸入的項目。

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

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

適用於