Language

ConversationData.Builder.SetChatMessages(IList<ChatMessageData>) Method

Definition

Sets the messages to record in the conversation snapshot.

[Android.Runtime.Register("setChatMessages", "(Ljava/util/List;)Landroid/app/personalcontext/hint/ConversationData$Builder;", "", ApiSince=37)]
public Android.App.PersonalContext.Hint.ConversationData.Builder SetChatMessages(System.Collections.Generic.IList<Android.App.PersonalContext.Hint.ChatMessageData> chatMessages);
[<Android.Runtime.Register("setChatMessages", "(Ljava/util/List;)Landroid/app/personalcontext/hint/ConversationData$Builder;", "", ApiSince=37)>]
member this.SetChatMessages : System.Collections.Generic.IList<Android.App.PersonalContext.Hint.ChatMessageData> -> Android.App.PersonalContext.Hint.ConversationData.Builder

Parameters

chatMessages
IList<ChatMessageData>

The messages in their conversation display order; the list may be empty.

Returns

This builder with the message list recorded.

Attributes

Remarks

Supply messages in display order; the native setter does not sort them.

Applies to