Language

PlannedExerciseStep.Builder.SetDescription Method

Definition

Overloads

Name Description
SetDescription(ICharSequence)

Sets the description.

SetDescription(String)

Stores a planned exercise step description supplied as a managed string.

SetDescription(ICharSequence)

Sets the description.

[Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/health/connect/datatypes/PlannedExerciseStep$Builder;", "", ApiSince=35)]
public Android.Health.Connect.DataTypes.PlannedExerciseStep.Builder SetDescription(Java.Lang.ICharSequence? description);
[<Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/health/connect/datatypes/PlannedExerciseStep$Builder;", "", ApiSince=35)>]
member this.SetDescription : Java.Lang.ICharSequence -> Android.Health.Connect.DataTypes.PlannedExerciseStep.Builder

Parameters

description
ICharSequence

The description text to store for this planned exercise step.

Returns

This step builder with the description set.

Attributes

Remarks

Sets the description.

Android reference for android.health.connect.datatypes.PlannedExerciseStep.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 a planned exercise step description supplied as a managed string.

public Android.Health.Connect.DataTypes.PlannedExerciseStep.Builder SetDescription(string? description);
member this.SetDescription : string -> Android.Health.Connect.DataTypes.PlannedExerciseStep.Builder

Parameters

description
String

The string description to store for this planned exercise step.

Returns

This step builder with the description set.

Remarks

The string description is converted to a Java string for the character-sequence overload when it is not null. A null description remains null.

Applies to