# ExercisePerformanceTarget.CadenceTarget

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.CadenceTarget) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

*** ** * ** ***


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

*** ** * ** ***

An `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget` that requires a target cadence range to be met during the associated `https://developer.android.com/reference/androidx/health/connect/client/records/PlannedExerciseStep`.The value may be interpreted as RPM for e.g. cycling activities, or as steps per minute for e.g. walking/running activities.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.CadenceTarget#CadenceTarget(kotlin.Double,kotlin.Double)(double minCadence, double maxCadence)` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.CadenceTarget#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final double` | `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.CadenceTarget#getMaxCadence()()` |
| `final double` | `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.CadenceTarget#getMinCadence()()` |
| `int` | `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.CadenceTarget#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.CadenceTarget#toString()()` |

## Public constructors

### CadenceTarget

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

```
public CadenceTarget(double minCadence, double maxCadence)
```

## Public methods

### equals

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

### getMaxCadence

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

```
public final double getMaxCadence()
```

### getMinCadence

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

```
public final double getMinCadence()
```

### hashCode

```
public int hashCode()
```

### toString

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