GolfExerciseTypeConfig


class GolfExerciseTypeConfig : 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 functions

open String

Public constructors

GolfExerciseTypeConfig

Added in 1.0.0
GolfExerciseTypeConfig(
    golfShotTrackingPlaceInfo: GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo = GOLF_SHOT_TRACKING_PLACE_INFO_UNSPECIFIED
)

Public functions

toString

open fun toString(): String

Public properties

golfShotTrackingPlaceInfo

Added in 1.0.0
val golfShotTrackingPlaceInfoGolfExerciseTypeConfig.GolfShotTrackingPlaceInfo

location where user takes DataType.GOLF_SHOT_COUNT during ExerciseType.GOLF activity