# 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)

*** ** * ** ***


```
public final class ExercisePerformanceTarget.PowerTarget extends ExercisePerformanceTarget
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.health.connect.client.records.ExercisePerformanceTarget](https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget) ||
|   | ↳ | [androidx.health.connect.client.records.ExercisePerformanceTarget.PowerTarget](https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.PowerTarget) |

*** ** * ** ***

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

## Summary

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

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.PowerTarget#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/connect/client/units/Power` | `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.PowerTarget#getMaxPower()()` |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/connect/client/units/Power` | `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.PowerTarget#getMinPower()()` |
| `int` | `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.PowerTarget#hashCode()()` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.PowerTarget#toString()()` |

## Public constructors

### PowerTarget

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

```
public PowerTarget(@NonNull Power minPower, @NonNull Power maxPower)
```

## Public methods

### equals

```
public boolean equals(Object other)
```

### getMaxPower

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

```
public final @NonNull Power getMaxPower()
```

### getMinPower

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

```
public final @NonNull Power getMinPower()
```

### hashCode

```
public int hashCode()
```

### toString

```
public @NonNull String toString()
```