Language

ConversationData.Builder.SetHasNewMessage(Boolean) Method

Definition

Sets whether the snapshot contains a new message in view.

[Android.Runtime.Register("setHasNewMessage", "(Z)Landroid/app/personalcontext/hint/ConversationData$Builder;", "", ApiSince=37)]
public Android.App.PersonalContext.Hint.ConversationData.Builder SetHasNewMessage(bool hasNewMessage);
[<Android.Runtime.Register("setHasNewMessage", "(Z)Landroid/app/personalcontext/hint/ConversationData$Builder;", "", ApiSince=37)>]
member this.SetHasNewMessage : bool -> Android.App.PersonalContext.Hint.ConversationData.Builder

Parameters

hasNewMessage
Boolean

true to record a new message in view; false otherwise.

Returns

The builder after recording the new-message indicator.

Attributes

Remarks

Set this indicator explicitly, including when its value is false.

Applies to