Notification.Builder.SetPriority(Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このメソッドは、API レベル 26 では非推奨になりました。
[Android.Runtime.Register("setPriority", "(I)Landroid/app/Notification$Builder;", "GetSetPriority_IHandler")]
public virtual Android.App.Notification.Builder? SetPriority(int pri);
[<Android.Runtime.Register("setPriority", "(I)Landroid/app/Notification$Builder;", "GetSetPriority_IHandler")>]
abstract member SetPriority : int -> Android.App.Notification.Builder
override this.SetPriority : int -> Android.App.Notification.Builder
パラメーター
- pri
- Int32
int: 値は次のいずれかです: Notification.PRIORITY_DEFAULT Notification.PRIORITY_LOW Notification.PRIORITY_MIN Notification.PRIORITY_HIGH Notification.PRIORITY_MAX
返品
この Android.App.Notification.Builder インスタンス。呼び出しをチェーンできます。
- 属性
注釈
このメソッドは、API レベル 26 では非推奨になりました。 代わりに NotificationChannel.setImportance(int) を使用してください。
この通知の優先度を設定します。
関連項目も参照:
android.app.Notification.Builder.setPriorityの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。