SuggestionHintConstants


@RequiresApi(api = Build.VERSION_CODES.R)
public final 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

static final String

Hint indicating that the suggestion is from clipboard content.

static final String

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

Constants

SUGGESTION_HINT_CLIPBOARD_CONTENT

Added in 1.1.0
public static final String SUGGESTION_HINT_CLIPBOARD_CONTENT = "clipboardContent"

Hint indicating that the suggestion is from clipboard content.

SUGGESTION_HINT_SMART_REPLY

Added in 1.1.0
public static final String SUGGESTION_HINT_SMART_REPLY = "smartReply"

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