# GolfShotEventCapabilities

Artifact: [androidx.health:health-services-client](https://developer.android.com/jetpack/androidx/releases/health) [View Source](https://cs.android.com/search?q=file:androidx/health/services/client/data/GolfShotEventCapabilities.kt+class:androidx.health.services.client.data.GolfShotEventCapabilities) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health#1.1.0)

*** ** * ** ***


```
class GolfShotEventCapabilities : ExerciseEventCapabilities
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.health.services.client.data.ExerciseEventCapabilities](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/ExerciseEventCapabilities) ||
|   | ↳ | [androidx.health.services.client.data.GolfShotEventCapabilities](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfShotEventCapabilities) |

*** ** * ** ***

Contains the Golf Shot capabilities specific to the associated `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfShotEvent`.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfShotEventCapabilities#GolfShotEventCapabilities(kotlin.Boolean,kotlin.Boolean)( isSupported: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isSwingTypeClassificationSupported: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html )` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfShotEventCapabilities#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfShotEventCapabilities#hashCode()()` |

| ### Public properties |
|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfShotEventCapabilities#isSupported()` Whether the device has the capability of supporting `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfShotEvent`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfShotEventCapabilities#isSwingTypeClassificationSupported()` Whether the device has the capability of supporting GolfShotSwingType. |

## Public constructors

### GolfShotEventCapabilities

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health#1.1.0)

```
GolfShotEventCapabilities(
    isSupported: Boolean,
    isSwingTypeClassificationSupported: Boolean
)
```

## Public functions

### equals

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

### hashCode

```
open fun hashCode(): Int
```

## Public properties

### isSupported

```
open val isSupported: Boolean
```

Whether the device has the capability of supporting `https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfShotEvent`.

### isSwingTypeClassificationSupported

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health#1.1.0)

```
val isSwingTypeClassificationSupported: Boolean
```

Whether the device has the capability of supporting GolfShotSwingType.