共用方式為


NotificationChannel.IsDemoted Property

Definition

Returns whether the user has decided that this channel does not represent a conversation.

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

Property Value

Attributes

Remarks

Returns whether the user has decided that this channel does not represent a conversation. The value will always be false for channels that never claimed to be conversations - that is, for channels where #getConversationId() and #getParentChannelId() are empty.

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

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