# SpeechRecognizerResponse.WordTiming


```
data class SpeechRecognizerResponse.WordTiming
```

<br />

*** ** * ** ***

Represents timing metadata for a recognized word.

## Summary

| ### Public constructors |
|---|
| `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/speechrecognition/SpeechRecognizerResponse.WordTiming#WordTiming(kotlin.String,kotlin.Long)(text: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, timestampMs: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/speechrecognition/SpeechRecognizerResponse.WordTiming#text()` The recognized word text. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/speechrecognition/SpeechRecognizerResponse.WordTiming#timestampMs()` The start offset in milliseconds from the start of the recognition session. |

## Public constructors

### WordTiming

```
WordTiming(text: String, timestampMs: Long)
```

## Public properties

### text

```
val text: String
```

The recognized word text.

### timestampMs

```
val timestampMs: Long
```

The start offset in milliseconds from the start of the recognition session.