# ExercisePerformanceTarget.SpeedTarget

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

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/health/connect/client/records/ExercisePerformanceTarget.SpeedTarget "View this page in Java")

<br />

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

*** ** * ** ***

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

## Summary

|                                                                                                                                                                                                                                      ### Public constructors                                                                                                                                                                                                                                      |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [SpeedTarget](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.SpeedTarget#SpeedTarget(androidx.health.connect.client.units.Velocity,androidx.health.connect.client.units.Velocity))`(minSpeed: `[Velocity](https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Velocity)`, maxSpeed: `[Velocity](https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Velocity)`)` |

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

|                                          ### Public properties                                           |
|----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|
| [Velocity](https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Velocity) | [maxSpeed](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.SpeedTarget#maxSpeed()) |
| [Velocity](https://developer.android.com/reference/kotlin/androidx/health/connect/client/units/Velocity) | [minSpeed](https://developer.android.com/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.SpeedTarget#minSpeed()) |

## Public constructors

### SpeedTarget

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

```
SpeedTarget(minSpeed: Velocity, maxSpeed: Velocity)
```  

## Public functions

### equals

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

### hashCode

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

### toString

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

## Public properties

### maxSpeed

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

```
val maxSpeed: Velocity
```  

### minSpeed

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

```
val minSpeed: Velocity
```