ChatMessageData.Builder.SetAuthor(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.