語言

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

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

適用於