Language

ChatMessageData.Builder.SetOutgoingMessage(Boolean) Method

Definition

Records whether the message is outgoing.

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

Parameters

isOutgoingMessage
Boolean

true to mark an outgoing message; false otherwise.

Returns

This builder after the message direction is set.

Attributes

Remarks

Call this method even for an incoming message so that the required direction is set.

Applies to