Język

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

Definition

Sets the conversation messages to include in the hint.

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

Parameters

chatMessages
IList<ChatMessageData>

The nonempty list of messages from one conversation.

Returns

This builder with the conversation message list stored.

Attributes

Remarks

The list must be non-null and nonempty. The native setter copies the list structure.

Applies to