Language

ChatMessageData.Builder.SetAuthor(String) Method

Definition

Sets the author associated with the message text.

[Android.Runtime.Register("setAuthor", "(Ljava/lang/String;)Landroid/app/personalcontext/hint/ChatMessageData$Builder;", "", ApiSince=37)]
public Android.App.PersonalContext.Hint.ChatMessageData.Builder SetAuthor(string author);
[<Android.Runtime.Register("setAuthor", "(Ljava/lang/String;)Landroid/app/personalcontext/hint/ChatMessageData$Builder;", "", ApiSince=37)>]
member this.SetAuthor : string -> Android.App.PersonalContext.Hint.ChatMessageData.Builder

Parameters

author
String

The author string to record for the message.

Returns

This builder with its author updated.

Attributes

Remarks

The author must not be null; an empty string is not rejected.

Applies to