PlannedExerciseBlock.Builder


public static final class PlannedExerciseBlock.Builder
extends Object

java.lang.Object
   ↳ android.health.connect.datatypes.PlannedExerciseBlock.Builder


Builder of PlannedExerciseBlock.

Summary

Public constructors

Builder(int repetitions)

Public methods

PlannedExerciseBlock.Builder addStep(PlannedExerciseStep step)

Adds a PlannedExerciseStep.

PlannedExerciseBlock build()
PlannedExerciseBlock.Builder clearSteps()

Clears the PlannedExerciseStep entries.

PlannedExerciseBlock.Builder setDescription(CharSequence description)

Sets the description.

PlannedExerciseBlock.Builder setRepetitions(int repetitions)

Sets the number of repetitions.

PlannedExerciseBlock.Builder setSteps(List<PlannedExerciseStep> steps)

Sets the PlannedExerciseStep entries.

Inherited methods