# ExercisePerformanceTarget.WeightTarget

# ExercisePerformanceTarget.WeightTarget

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/ExercisePerformanceTarget.kt+class:androidx.health.connect.client.records.ExercisePerformanceTarget.WeightTarget)  
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/ExercisePerformanceTarget.WeightTarget "View this page in Java")

<br />

```
class ExercisePerformanceTarget.WeightTarget : ExercisePerformanceTarget
```

<br />

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

*** ** * ** ***

An[ExercisePerformanceTarget](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget)that requires a target weight to be lifted during the associated[PlannedExerciseStep](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/PlannedExerciseStep).

## Summary

|                                                                                                                                             ### Public constructors                                                                                                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [WeightTarget](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.WeightTarget#WeightTarget(androidx.health.connect.client.units.Mass))`(mass: `[Mass](https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass)`)` |

|                                        ### 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/ExercisePerformanceTarget.WeightTarget#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/ExercisePerformanceTarget.WeightTarget#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/ExercisePerformanceTarget.WeightTarget#toString())`()`                                                                                            |

|                                      ### Public properties                                       |
|--------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|
| [Mass](https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Mass) | [mass](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.WeightTarget#mass()) |

## Public constructors

### WeightTarget

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

```
WeightTarget(mass: Mass)
```  

## Public functions

### equals

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

### hashCode

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

### toString

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

## Public properties

### mass

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

```
val mass: Mass
```