# ExerciseCompletionGoal.RepetitionsGoal

# ExerciseCompletionGoal.RepetitionsGoal

Artifact:[androidx.health.connect:connect-client](https://developer.android.com/jetpack/androidx/releases/health-connect)  
[View Source](https://cs.android.com/search?q=file:androidx/health/connect/client/records/ExerciseCompletionGoal.kt+class:androidx.health.connect.client.records.ExerciseCompletionGoal.RepetitionsGoal)  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.RepetitionsGoal "View this page in Java")

<br />

```
class ExerciseCompletionGoal.RepetitionsGoal : ExerciseCompletionGoal
```

<br />

|---|---|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)                                                                                                                                  |||
| ↳ | [androidx.health.connect.client.records.ExerciseCompletionGoal](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal)                                    ||
|   | ↳ | [androidx.health.connect.client.records.ExerciseCompletionGoal.RepetitionsGoal](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal.RepetitionsGoal) |

*** ** * ** ***

An[ExerciseCompletionGoal](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal)that requires a specified number of repetitions to be completed.

## Summary

|                                                                                                                          ### Public constructors                                                                                                                          |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [RepetitionsGoal](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal.RepetitionsGoal#RepetitionsGoal(kotlin.Int))`(repetitions: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` |

|                                        ### Public functions                                         |
|-----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `open operator `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [equals](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal.RepetitionsGoal#equals(kotlin.Any))`(other: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` |
| `open `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                  | [hashCode](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal.RepetitionsGoal#hashCode())`()`                                                                                            |
| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)            | [toString](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal.RepetitionsGoal#toString())`()`                                                                                            |

|                            ### Public properties                            |
|-----------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [repetitions](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal.RepetitionsGoal#repetitions()) |

## Public constructors

### RepetitionsGoal

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)  

```
RepetitionsGoal(repetitions: Int)
```  

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```  

### hashCode

```
open fun hashCode(): Int
```  

### toString

```
open fun toString(): String
```  

## Public properties

### repetitions

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)  

```
val repetitions: Int
```