# ExerciseCompletionGoal

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

*** ** * ** ***


```
public abstract class ExerciseCompletionGoal
```

<br />

Known direct subclasses [ExerciseCompletionGoal.ActiveCaloriesBurnedGoal](https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.ActiveCaloriesBurnedGoal), [ExerciseCompletionGoal.DistanceAndDurationGoal](https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.DistanceAndDurationGoal), [ExerciseCompletionGoal.DistanceGoal](https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.DistanceGoal), [ExerciseCompletionGoal.DurationGoal](https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.DurationGoal), [ExerciseCompletionGoal.ManualCompletion](https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.ManualCompletion), [ExerciseCompletionGoal.RepetitionsGoal](https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.RepetitionsGoal), [ExerciseCompletionGoal.StepsGoal](https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.StepsGoal), [ExerciseCompletionGoal.TotalCaloriesBurnedGoal](https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.TotalCaloriesBurnedGoal), [ExerciseCompletionGoal.UnknownGoal](https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.UnknownGoal)

|---|---|
| `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.ActiveCaloriesBurnedGoal` | An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires a specified number of active calories to be burned. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.DistanceAndDurationGoal` | An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires covering a specified distance. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.DistanceGoal` | An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires covering a specified distance. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.DurationGoal` | An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires a specified duration to elapse. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.ManualCompletion` | An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that has no specific target metric. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.RepetitionsGoal` | An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires a specified number of repetitions to be completed. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.StepsGoal` | An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires completing a specified number of steps. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.TotalCaloriesBurnedGoal` | An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires a specified number of total calories to be burned. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.UnknownGoal` | An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that is unknown. |

*** ** * ** ***

A goal which should be met to complete a `https://developer.android.com/reference/androidx/health/connect/client/records/PlannedExerciseStep`.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.ActiveCaloriesBurnedGoal extends https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires a specified number of active calories to be burned. |
| `public final class https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.DistanceAndDurationGoal extends https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires covering a specified distance. |
| `public final class https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.DistanceGoal extends https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires covering a specified distance. |
| `public final class https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.DurationGoal extends https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires a specified duration to elapse. |
| `public static class https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.ManualCompletion extends https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that has no specific target metric. |
| `public final class https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.RepetitionsGoal extends https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires a specified number of repetitions to be completed. |
| `public final class https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.StepsGoal extends https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires completing a specified number of steps. |
| `public final class https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.TotalCaloriesBurnedGoal extends https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that requires a specified number of total calories to be burned. |
| `public static class https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal.UnknownGoal extends https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` An `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseCompletionGoal` that is unknown. |