Language

ExerciseSegment.Builder.SetRateOfPerceivedExertion(Single) Method

Definition

Sets rate of perceived exertion (RPE) used during the exercise segment.

[Android.Runtime.Register("setRateOfPerceivedExertion", "(F)Landroid/health/connect/datatypes/ExerciseSegment$Builder;", "", ApiSince=36)]
public Android.Health.Connect.DataTypes.ExerciseSegment.Builder SetRateOfPerceivedExertion(float rateOfPerceivedExertion);
[<Android.Runtime.Register("setRateOfPerceivedExertion", "(F)Landroid/health/connect/datatypes/ExerciseSegment$Builder;", "", ApiSince=36)>]
member this.SetRateOfPerceivedExertion : single -> Android.Health.Connect.DataTypes.ExerciseSegment.Builder

Parameters

rateOfPerceivedExertion
Single

Value is between 0.0f and 10.0f inclusive

Returns

Attributes

Remarks

Sets rate of perceived exertion (RPE) used during the exercise segment. Values correspond to the Borg CR10 RPE scale and must be in the range 0 to 10 inclusive. 0: No exertion (at rest) 1: Very light 2-3: Light 4-5: Moderate 6-7: Hard 8-9: Very hard 10: Maximum effort Returns builder instance with rate of perceived exertion set.

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

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