Stay organized with collections
Save and categorize content based on your preferences.
abstract class ExerciseEvent
Contains the latest exercise event for the current exercise.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# ExerciseEvent\n=============\n\nArtifact: [androidx.health:health-services-client](/jetpack/androidx/releases/health) \n[View Source](https://cs.android.com/search?q=file:androidx/health/services/client/data/ExerciseEvent.kt+class:androidx.health.services.client.data.ExerciseEvent) \nAdded in [1.1.0-alpha05](/jetpack/androidx/releases/health#1.1.0-alpha05)\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/health/services/client/data/ExerciseEvent \"View this page in Java\")\n\n\n```\nabstract class ExerciseEvent\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[GolfShotEvent](/reference/kotlin/androidx/health/services/client/data/GolfShotEvent) \n\n|---------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GolfShotEvent](/reference/kotlin/androidx/health/services/client/data/GolfShotEvent) | An [ExerciseEvent](/reference/kotlin/androidx/health/services/client/data/ExerciseEvent) that contains information about Golf Shot events for the current exercise. |\n\n*** ** * ** ***\n\nContains the latest exercise event for the current exercise."]]