# contentHints

> The Android autofill hints of this [ContentType], for populating [android.view.ViewStructure.setAutofillHints].

## API Reference

> Source set: Android

```kotlin
public val ContentType.contentHints: Set<String>
```

The Android autofill hints of this [ContentType](https://composables.com/jetpack-compose/androidx.compose.ui/ui/functions/ContentType/api.md), for populating
`android.view.ViewStructure.setAutofillHints`.

Hints use the Android autofill hint vocabulary: the `View.AUTOFILL_HINT_*` constants and
`androidx.autofill.HintConstants`, or any custom hint passed to [ContentType](https://composables.com/jetpack-compose/androidx.compose.ui/ui/functions/ContentType/api.md) (`contentHint`).
Hints are in declaration order; a [ContentType](https://composables.com/jetpack-compose/androidx.compose.ui/ui/functions/ContentType/api.md) combined with `ContentType.plus` lists the
receiver's hints first, followed by the hints of the other [ContentType](https://composables.com/jetpack-compose/androidx.compose.ui/ui/functions/ContentType/api.md) that aren't already
present.
