다음을 통해 공유


Notification.MessagingStyle.IsGroupConversation Property

Definition

Returns true if this notification represents a group conversation, otherwise false.

public virtual bool IsGroupConversation { [Android.Runtime.Register("isGroupConversation", "()Z", "GetIsGroupConversationHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("isGroupConversation", "()Z", "GetIsGroupConversationHandler", ApiSince=28)>]
member this.IsGroupConversation : bool

Property Value

Attributes

Remarks

Returns true if this notification represents a group conversation, otherwise false.

If the application that generated this MessagingStyle targets an SDK version less than Build.VERSION_CODES#P, this method becomes dependent on whether or not the conversation title is set; returning true if the conversation title is a non-null value, or false otherwise. From Build.VERSION_CODES#P forward, this method returns what's set by #setGroupConversation(boolean) allowing for named, non-group conversations.

Java documentation for android.app.Notification.MessagingStyle.isGroupConversation().

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