SuggestionHintConstants
@RequiresApi(30) class SuggestionHintConstants
kotlin.Any | |
↳ | androidx.autofill.inline.SuggestionHintConstants |
Contains all the officially supported Autofill inline suggestion hint constants.
Set through the inline suggestion content builder, such as androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder#setHints(List)
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 String |
Hint indicating that the suggestion is from clipboard content. |
static String |
Hint indicating that the suggestion is a smart reply to a conversation. |
Constants
SUGGESTION_HINT_CLIPBOARD_CONTENT
static val SUGGESTION_HINT_CLIPBOARD_CONTENT: String
Hint indicating that the suggestion is from clipboard content.
Value: "clipboardContent"
SUGGESTION_HINT_SMART_REPLY
static val SUGGESTION_HINT_SMART_REPLY: String
Hint indicating that the suggestion is a smart reply to a conversation.
Value: "smartReply"