NotificationManager.Importance Property

Definition

Returns the user specified importance for notifications from the calling package.

public virtual Android.App.NotificationImportance Importance { [Android.Runtime.Register("getImportance", "()I", "GetGetImportanceHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getImportance", "()I", "GetGetImportanceHandler", ApiSince=24)>]
member this.Importance : Android.App.NotificationImportance

Property Value

Value is one of the following: IMPORTANCE_UNSPECIFIED IMPORTANCE_NONE IMPORTANCE_MIN IMPORTANCE_LOW IMPORTANCE_DEFAULT IMPORTANCE_HIGH

Attributes

Remarks

Returns the user specified importance for notifications from the calling package.

Android reference for android.app.NotificationManager.getImportance.

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