# ExercisePerformanceTarget.PowerTarget

# ExercisePerformanceTarget.PowerTarget

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.PowerTarget)  
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.PowerTarget "View this page in Java")

<br />

```
class ExercisePerformanceTarget.PowerTarget : 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.PowerTarget](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.PowerTarget) |

*** ** * ** ***

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

## Summary

|                                                                                                                                                                                                                             ### Public constructors                                                                                                                                                                                                                             |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [PowerTarget](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.PowerTarget#PowerTarget(androidx.health.connect.client.units.Power,androidx.health.connect.client.units.Power))`(minPower: `[Power](https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Power)`, maxPower: `[Power](https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Power)`)` |

|                                        ### 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.PowerTarget#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.PowerTarget#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.PowerTarget#toString())`()`                                                                                            |

|                                       ### Public properties                                        |
|----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|
| [Power](https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Power) | [maxPower](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.PowerTarget#maxPower()) |
| [Power](https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Power) | [minPower](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.PowerTarget#minPower()) |

## Public constructors

### PowerTarget

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

```
PowerTarget(minPower: Power, maxPower: Power)
```  

## Public functions

### equals

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

### hashCode

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

### toString

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

## Public properties

### maxPower

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

```
val maxPower: Power
```  

### minPower

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

```
val minPower: Power
```