GolfExerciseTypeConfig


public final class GolfExerciseTypeConfig extends ExerciseTypeConfig


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

The tracking information for a golf shot used in GolfExerciseTypeConfig.

Public constructors

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

toString

public @NonNull String toString()