GolfShotEventCapabilities


class GolfShotEventCapabilities : ExerciseEventCapabilities


Contains the Golf Shot capabilities specific to the associated GolfShotEvent.

Summary

Public constructors

GolfShotEventCapabilities(
    isSupported: Boolean,
    isSwingTypeClassificationSupported: Boolean
)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

open Boolean

Whether the device has the capability of supporting GolfShotEvent.

Boolean

Whether the device has the capability of supporting GolfShotSwingType.

Public constructors

GolfShotEventCapabilities

Added in 1.1.0-alpha02
GolfShotEventCapabilities(
    isSupported: Boolean,
    isSwingTypeClassificationSupported: Boolean
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

isSupported

Added in 1.1.0-alpha02
open val isSupportedBoolean

Whether the device has the capability of supporting GolfShotEvent.

isSwingTypeClassificationSupported

Added in 1.1.0-alpha02
val isSwingTypeClassificationSupportedBoolean

Whether the device has the capability of supporting GolfShotSwingType.