AugmentedAutofillOptionInsight.Builder


public static final class AugmentedAutofillOptionInsight.Builder
extends Object

java.lang.Object
   ↳ android.app.personalcontext.insight.AugmentedAutofillOptionInsight.Builder


Builder for AugmentedAutofillOptionInsight.

Summary

Public constructors

Builder(InsightDisplayDetails displayDetails)

Creates a new builder for a AugmentedAutofillOptionInsight.

Public methods

AugmentedAutofillOptionInsight.Builder addInlineSuggestionHint(String suggestionHint)

Adds a hint to be passed into the inline suggestions UI.

AugmentedAutofillOptionInsight build()

Builds the AugmentedAutofillOptionInsight.

Inherited methods

Public constructors

Builder

Added in version 37.2
public Builder (InsightDisplayDetails displayDetails)

Creates a new builder for a AugmentedAutofillOptionInsight.

Parameters
displayDetails InsightDisplayDetails: the display details of the insight.
This value cannot be null.

Public methods

addInlineSuggestionHint

Added in version 37.2
public AugmentedAutofillOptionInsight.Builder addInlineSuggestionHint (String suggestionHint)

Adds a hint to be passed into the inline suggestions UI. These hints are read by the keyboard and used to customize the presentation of the suggestion.

Parameters
suggestionHint String: the inline suggestion hint to add.
This value cannot be null.

Returns
AugmentedAutofillOptionInsight.Builder This value cannot be null.

build

Added in version 37.2
public AugmentedAutofillOptionInsight build ()

Builds the AugmentedAutofillOptionInsight.

Returns
AugmentedAutofillOptionInsight This value cannot be null.