Notification.MessagingStyle.IsGroupConversation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The configured group-conversation flag. When attached to a builder targeting an API below 28, a non-null conversation title determines this value instead.
- Attributes
Remarks
Returns true if this notification represents a group conversation, otherwise false. If this MessagingStyle is attached to a builder whose application targets an SDK version less than Build.VERSION_CODES.P, the result depends on whether the conversation title is set: it is true for a non-null title and false otherwise. In other cases, the result is set by setGroupConversation(boolean), allowing for named, non-group conversations.
Android reference 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.