NotificationManager.ImportanceMax Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.NotificationImportance enum directly instead of this field.

Higher notification importance: shows everywhere, makes noise and peeks.

[Android.Runtime.Register("IMPORTANCE_MAX", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationImportance enum directly instead of this field.", true)]
public const Android.App.NotificationImportance ImportanceMax = 5;
[<Android.Runtime.Register("IMPORTANCE_MAX", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationImportance enum directly instead of this field.", true)>]
val mutable ImportanceMax : Android.App.NotificationImportance

Field Value

Value = 5
Attributes

Remarks

Higher notification importance: shows everywhere, makes noise and peeks. May use full screen intents. May have elevated prominence in appearance or shade ranking. Usage is reserved by OS; app usage is capped at IMPORTANCE_HIGH.

Android reference for android.app.NotificationManager.IMPORTANCE_MAX.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to