SuggestionHintConstants


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


Contains all the officially supported Autofill inline suggestion hint constants.

Set through the inline suggestion content builder, such as setHints 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 String!

Hint indicating that the suggestion is from clipboard content.

const String!

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

Constants

SUGGESTION_HINT_CLIPBOARD_CONTENT

Added in 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
const val SUGGESTION_HINT_SMART_REPLY = "smartReply": String!

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