ConversationStatus.Builder.SetDescription 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.
Overloads
| Name | Description |
|---|---|
| SetDescription(ICharSequence) |
Sets a user visible description expanding on the conversation user(s)'s activity. |
| SetDescription(String) |
Sets the text that describes the conversation activity. |
SetDescription(ICharSequence)
Sets a user visible description expanding on the conversation user(s)'s activity.
[Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/app/people/ConversationStatus$Builder;", "", ApiSince=31)]
public Android.App.People.ConversationStatus.Builder SetDescription(Java.Lang.ICharSequence? description);
[<Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/app/people/ConversationStatus$Builder;", "", ApiSince=31)>]
member this.SetDescription : Java.Lang.ICharSequence -> Android.App.People.ConversationStatus.Builder
Parameters
- description
- ICharSequence
The activity description as a Java character sequence, or null to clear the description.
Returns
This builder, so that more settings can be applied.
- Attributes
Remarks
Sets a user visible description expanding on the conversation user(s)'s activity.
Examples include: what media someone is watching or listening to, their approximate location, or what type of anniversary they are celebrating.
Android reference for android.app.people.ConversationStatus.Builder.setDescription.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
SetDescription(String)
Sets the text that describes the conversation activity.
public Android.App.People.ConversationStatus.Builder SetDescription(string? description);
member this.SetDescription : string -> Android.App.People.ConversationStatus.Builder
Parameters
- description
- String
The activity description as a string, or null to clear the description.
Returns
This builder, so that more settings can be applied.
Remarks
This overload accepts a .NET string. Use SetDescription(ICharSequence) to supply a Java character sequence.