GolfShotEvent
class GolfShotEvent : ExerciseEvent
| kotlin.Any | ||
| ↳ | androidx.health.services.client.data.ExerciseEvent | |
| ↳ | androidx.health.services.client.data.GolfShotEvent |
An ExerciseEvent that contains information about Golf Shot events for the current exercise.
Summary
Nested types |
|---|
|
Golf Shot Swing Types. |
Public constructors |
|---|
GolfShotEvent( |
Public properties |
|
|---|---|
Duration |
|
GolfShotEvent.GolfShotSwingType |
The type of golf swing that was detected. |
Public constructors
GolfShotEvent
Added in 1.1.0-alpha05
GolfShotEvent(
durationSinceBoot: Duration,
swingType: GolfShotEvent.GolfShotSwingType
)
Public functions
Public properties
durationSinceBoot
Added in 1.1.0-alpha05
val durationSinceBoot: Duration
Duration since device boot when the golf shot was detected.
swingType
Added in 1.1.0-alpha05
val swingType: GolfShotEvent.GolfShotSwingType
The type of golf swing that was detected.