# GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo

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

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo "View this page in Java")

<br />

```
class GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo
```

<br />

*** ** * ** ***

The tracking information for a golf shot used in[GolfExerciseTypeConfig](https://developer.android.com/reference/kotlin/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 companion properties                                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo) | [GOLF_SHOT_TRACKING_PLACE_INFO_FAIRWAY](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#GOLF_SHOT_TRACKING_PLACE_INFO_FAIRWAY()) The golf shot is being taken from the fairway.                   |
| [GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo) | [GOLF_SHOT_TRACKING_PLACE_INFO_PUTTING_GREEN](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#GOLF_SHOT_TRACKING_PLACE_INFO_PUTTING_GREEN()) The golf shot is being taken from the putting green. |
| [GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo) | [GOLF_SHOT_TRACKING_PLACE_INFO_TEE_BOX](https://developer.android.com/reference/kotlin/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.              |
| [GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo) | [GOLF_SHOT_TRACKING_PLACE_INFO_UNSPECIFIED](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#GOLF_SHOT_TRACKING_PLACE_INFO_UNSPECIFIED()) The golf shot is being taken from an unspecified place.  |

|                                        ### Public functions                                         |
|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `open operator `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [equals](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#equals(kotlin.Any))`(other: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` |
| `open `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                  | [hashCode](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#hashCode())`()`                                                                                            |
| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)            | [toString](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#toString())`()`                                                                                            |

|                            ### Public properties                            |
|-----------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [placeInfoId](https://developer.android.com/reference/kotlin/androidx/health/services/client/data/GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo#placeInfoId()) |

## Public companion properties

### GOLF_SHOT_TRACKING_PLACE_INFO_FAIRWAY

```
val GOLF_SHOT_TRACKING_PLACE_INFO_FAIRWAY: GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo
```

The golf shot is being taken from the fairway.  

### GOLF_SHOT_TRACKING_PLACE_INFO_PUTTING_GREEN

```
val GOLF_SHOT_TRACKING_PLACE_INFO_PUTTING_GREEN: GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo
```

The golf shot is being taken from the putting green.  

### GOLF_SHOT_TRACKING_PLACE_INFO_TEE_BOX

```
val GOLF_SHOT_TRACKING_PLACE_INFO_TEE_BOX: GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo
```

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

### GOLF_SHOT_TRACKING_PLACE_INFO_UNSPECIFIED

```
val GOLF_SHOT_TRACKING_PLACE_INFO_UNSPECIFIED: GolfExerciseTypeConfig.GolfShotTrackingPlaceInfo
```

The golf shot is being taken from an unspecified place.  

## Public functions

### equals

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

### hashCode

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

### toString

```
open fun toString(): String
```  

## Public properties

### placeInfoId

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

```
val placeInfoId: Int
```