GolfExerciseTypeConfig
public final class GolfExerciseTypeConfig extends ExerciseTypeConfig
| java.lang.Object | ||
| ↳ | androidx.health.services.client.data.ExerciseTypeConfig | |
| ↳ | androidx.health.services.client.data.GolfExerciseTypeConfig |
An ExerciseTypeConfig that is specifically for an ExerciseType.GOLF activity to configure the detection of DataType.GOLF_SHOT_COUNT, enabling higher accuracy of the detection. Developers are not expected to receive or consume it from health-services.
Summary
Nested types |
|---|
public final class GolfExerciseTypeConfig.GolfShotTrackingPlaceInfoThe tracking information for a golf shot used in |
Public constructors |
|---|
GolfExerciseTypeConfig( |
Public methods |
|
|---|---|
final @NonNull GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo |
location where user takes |
@NonNull String |
toString() |
Public constructors
GolfExerciseTypeConfig
Added in 1.0.0
public GolfExerciseTypeConfig(
@NonNull GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo golfShotTrackingPlaceInfo
)
Public methods
getGolfShotTrackingPlaceInfo
Added in 1.0.0
public final @NonNull GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo getGolfShotTrackingPlaceInfo()
location where user takes DataType.GOLF_SHOT_COUNT during ExerciseType.GOLF activity