# SuggestionHintConstants

Artifact: [androidx.autofill:autofill](https://developer.android.com/jetpack/androidx/releases/autofill) [View Source](https://cs.android.com/search?q=file:androidx/autofill/inline/SuggestionHintConstants.java+class:androidx.autofill.inline.SuggestionHintConstants) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/autofill#1.1.0)

*** ** * ** ***


```
@RequiresApi(api = Build.VERSION_CODES.R)
class SuggestionHintConstants
```

<br />

*** ** * ** ***

Contains all the officially supported Autofill inline suggestion hint constants.

Set through the inline suggestion content builder, such as `https://developer.android.com/reference/kotlin/androidx/autofill/inline/v1/InlineSuggestionUi.Content.Builder#setHints(java.util.List<java.lang.String>)` to provide hints about the type of the suggestion content. The remote process that shows the inline suggestion may not have access to the suggestion content, but it can use the associated hints to help rank and evaluate the quality of the suggestion based on user action on them.

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/autofill/inline/SuggestionHintConstants#SUGGESTION_HINT_CLIPBOARD_CONTENT() = "clipboardContent"` Hint indicating that the suggestion is from clipboard content. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/autofill/inline/SuggestionHintConstants#SUGGESTION_HINT_SMART_REPLY() = "smartReply"` Hint indicating that the suggestion is a smart reply to a conversation. |

## Constants

### SUGGESTION_HINT_CLIPBOARD_CONTENT

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

```
const val SUGGESTION_HINT_CLIPBOARD_CONTENT = "clipboardContent": String!
```

Hint indicating that the suggestion is from clipboard content.

### SUGGESTION_HINT_SMART_REPLY

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

```
const val SUGGESTION_HINT_SMART_REPLY = "smartReply": String!
```

Hint indicating that the suggestion is a smart reply to a conversation.