Language

ExerciseSegment.Builder.SetRepetitionsCount(Int32) Method

Definition

Sets the number of repetitions to the current segment.

[Android.Runtime.Register("setRepetitionsCount", "(I)Landroid/health/connect/datatypes/ExerciseSegment$Builder;", "", ApiSince=34)]
public Android.Health.Connect.DataTypes.ExerciseSegment.Builder SetRepetitionsCount(int repetitionsCount);
[<Android.Runtime.Register("setRepetitionsCount", "(I)Landroid/health/connect/datatypes/ExerciseSegment$Builder;", "", ApiSince=34)>]
member this.SetRepetitionsCount : int -> Android.Health.Connect.DataTypes.ExerciseSegment.Builder

Parameters

repetitionsCount
Int32

Value is 0 or greater

Returns

Attributes

Remarks

Sets the number of repetitions to the current segment. Returns builder instance with repetitions count set.

Android reference for android.health.connect.datatypes.ExerciseSegment.Builder.setRepetitionsCount.

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