Google is committed to advancing racial equity for Black communities. See how.

SuggestionHintConstants

public final class SuggestionHintConstants
extends Object

java.lang.Object
   ↳ androidx.autofill.inline.SuggestionHintConstants


Contains all the officially supported Autofill inline suggestion hint constants.

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

String SUGGESTION_HINT_CLIPBOARD_CONTENT

Hint indicating that the suggestion is from clipboard content.

String SUGGESTION_HINT_SMART_REPLY

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

Inherited methods

Constants

SUGGESTION_HINT_CLIPBOARD_CONTENT

public static final String SUGGESTION_HINT_CLIPBOARD_CONTENT

Hint indicating that the suggestion is from clipboard content.

Constant Value: "clipboardContent"

SUGGESTION_HINT_SMART_REPLY

public static final String SUGGESTION_HINT_SMART_REPLY

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

Constant Value: "smartReply"