Language

NotificationChannel.OriginalImportance Property

Definition

Returns the app-defined importance for this channel, prior to any user modifications.

public int OriginalImportance { [Android.Runtime.Register("getOriginalImportance", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getOriginalImportance", "()I", "", ApiSince=36)>]
member this.OriginalImportance : int

Property Value

The original importance as set by the app.

Attributes

Remarks

Returns the app-defined importance for this channel, prior to any user modifications. This may differ from #getImportance() if the user has changed the setting. Typically reflects the channel's initial importance set upon creation.

Java documentation for android.app.NotificationChannel.getOriginalImportance().

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