# ExercisePerformanceTarget.SpeedTarget

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

*** ** * ** ***


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

*** ** * ** ***

An `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget` that requires a target speed 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.SpeedTarget#SpeedTarget(androidx.health.connect.client.units.Velocity,androidx.health.connect.client.units.Velocity)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/connect/client/units/Velocity minSpeed, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/connect/client/units/Velocity maxSpeed)` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.SpeedTarget#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/Velocity` | `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.SpeedTarget#getMaxSpeed()()` |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/connect/client/units/Velocity` | `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.SpeedTarget#getMinSpeed()()` |
| `int` | `https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.SpeedTarget#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.SpeedTarget#toString()()` |

## Public constructors

### SpeedTarget

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

```
public SpeedTarget(@NonNull Velocity minSpeed, @NonNull Velocity maxSpeed)
```

## Public methods

### equals

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

### getMaxSpeed

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

```
public final @NonNull Velocity getMaxSpeed()
```

### getMinSpeed

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

```
public final @NonNull Velocity getMinSpeed()
```

### hashCode

```
public int hashCode()
```

### toString

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