共用方式為


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

Attributes

Remarks

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

Java documentation 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