# GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo

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/GolfExerciseTypeConfig.kt+class:androidx.health.services.client.data.GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/health#1.0.0)

*** ** * ** ***


```
public final class GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo
```

<br />

*** ** * ** ***

The tracking information for a golf shot used in `https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig`. It is the semantic location of a user while golfing to assist golf swing activity recognition algorithms.

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo` | `https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#GOLF_SHOT_TRACKING_PLACE_INFO_FAIRWAY()` The golf shot is being taken from the fairway. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo` | `https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#GOLF_SHOT_TRACKING_PLACE_INFO_PUTTING_GREEN()` The golf shot is being taken from the putting green. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo` | `https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#GOLF_SHOT_TRACKING_PLACE_INFO_TEE_BOX()` The golf shot is being taken from the tee box area. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo` | `https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#GOLF_SHOT_TRACKING_PLACE_INFO_UNSPECIFIED()` The golf shot is being taken from an unspecified place. |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final int` | `https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#getPlaceInfoId()()` |
| `int` | `https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#hashCode()()` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#toString()()` |

## Public fields

### GOLF_SHOT_TRACKING_PLACE_INFO_FAIRWAY

```
public static final @NonNull GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo GOLF_SHOT_TRACKING_PLACE_INFO_FAIRWAY
```

The golf shot is being taken from the fairway.

### GOLF_SHOT_TRACKING_PLACE_INFO_PUTTING_GREEN

```
public static final @NonNull GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo GOLF_SHOT_TRACKING_PLACE_INFO_PUTTING_GREEN
```

The golf shot is being taken from the putting green.

### GOLF_SHOT_TRACKING_PLACE_INFO_TEE_BOX

```
public static final @NonNull GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo GOLF_SHOT_TRACKING_PLACE_INFO_TEE_BOX
```

The golf shot is being taken from the tee box area.

### GOLF_SHOT_TRACKING_PLACE_INFO_UNSPECIFIED

```
public static final @NonNull GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo GOLF_SHOT_TRACKING_PLACE_INFO_UNSPECIFIED
```

The golf shot is being taken from an unspecified place.

## Public methods

### equals

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

### getPlaceInfoId

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

```
public final int getPlaceInfoId()
```

### hashCode

```
public int hashCode()
```

### toString

```
public @NonNull String toString()
```