InlineSuggestionUi.Content.Builder

public static final class InlineSuggestionUi.Content.Builder
extends Object

java.lang.Object
   ↳ androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder


Builder for the InlineSuggestionUi.Content.

Summary

Fields

protected final Slice.Builder mSliceBuilder

Public methods

InlineSuggestionUi.Content build()

Returns a subclass of SlicedContent built by this builder.

InlineSuggestionUi.Content.Builder setContentDescription(CharSequence contentDescription)

Sets the content description for the suggestion view.

InlineSuggestionUi.Content.Builder setEndIcon(Icon endIcon)

Sets the end icon of the suggestion UI.

InlineSuggestionUi.Content.Builder setHints(List<String> hints)

Sets hints to indicate the kind of data in the suggestion.

InlineSuggestionUi.Content.Builder setStartIcon(Icon startIcon)

Sets the start icon of the suggestion UI.

InlineSuggestionUi.Content.Builder setSubtitle(CharSequence subtitle)

Sets the subtitle of the suggestion UI.

InlineSuggestionUi.Content.Builder setTitle(CharSequence title)

Sets the title of the suggestion UI.

Inherited methods