PlannedExerciseBlock.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 the description. |
| SetDescription(String) |
Stores an exercise block description supplied as a managed string. |
SetDescription(ICharSequence)
Sets the description.
[Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/health/connect/datatypes/PlannedExerciseBlock$Builder;", "", ApiSince=35)]
public Android.Health.Connect.DataTypes.PlannedExerciseBlock.Builder SetDescription(Java.Lang.ICharSequence? description);
[<Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/health/connect/datatypes/PlannedExerciseBlock$Builder;", "", ApiSince=35)>]
member this.SetDescription : Java.Lang.ICharSequence -> Android.Health.Connect.DataTypes.PlannedExerciseBlock.Builder
Parameters
- description
- ICharSequence
The description text to store for this exercise block.
Returns
This block builder with the description set.
- Attributes
Remarks
Sets the description.
Android reference for android.health.connect.datatypes.PlannedExerciseBlock.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)
Stores an exercise block description supplied as a managed string.
public Android.Health.Connect.DataTypes.PlannedExerciseBlock.Builder SetDescription(string? description);
member this.SetDescription : string -> Android.Health.Connect.DataTypes.PlannedExerciseBlock.Builder
Parameters
- description
- String
The string description to store for this exercise block.
Returns
This block builder with the description set.
Remarks
A non-null description is converted to a Java string for the character-sequence overload. A null description is passed through as null.