# 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)

*** ** * ** ***


```
public final class GolfShotEventCapabilities extends ExerciseEventCapabilities
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.health.services.client.data.ExerciseEventCapabilities](https://developer.android.com/reference/androidx/health/services/client/data/ExerciseEventCapabilities) ||
|   | ↳ | [androidx.health.services.client.data.GolfShotEventCapabilities](https://developer.android.com/reference/androidx/health/services/client/data/GolfShotEventCapabilities) |

*** ** * ** ***

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

## Summary

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

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/health/services/client/data/GolfShotEventCapabilities#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `int` | `https://developer.android.com/reference/androidx/health/services/client/data/GolfShotEventCapabilities#hashCode()()` |
| `boolean` | `https://developer.android.com/reference/androidx/health/services/client/data/GolfShotEventCapabilities#isSupported()()` Whether the device has the capability of supporting `https://developer.android.com/reference/androidx/health/services/client/data/GolfShotEvent`. |
| `final boolean` | `https://developer.android.com/reference/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)

```
public GolfShotEventCapabilities(
    boolean isSupported,
    boolean isSwingTypeClassificationSupported
)
```

## Public methods

### equals

```
public boolean equals(Object other)
```

### hashCode

```
public int hashCode()
```

### isSupported

```
public boolean isSupported()
```

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

### isSwingTypeClassificationSupported

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

```
public final boolean isSwingTypeClassificationSupported()
```

Whether the device has the capability of supporting GolfShotSwingType.