共用方式為


NotificationChannel.IsImportantConversation Property

Definition

Whether or not notifications in this conversation are considered important.

public bool IsImportantConversation { [Android.Runtime.Register("isImportantConversation", "()Z", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("isImportantConversation", "()Z", "", ApiSince=30)>]
member this.IsImportantConversation : bool

Property Value

Attributes

Remarks

Whether or not notifications in this conversation are considered important.

Important conversations may get special visual treatment, and might be able to bypass DND.

This is only valid for channels that represent conversations, that is, where #isConversation() is true.

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

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