Builder


class Builder
kotlin.Any
   ↳ android.app.personalcontext.insight.AugmentedAutofillOptionInsight.Builder

Builder for AugmentedAutofillOptionInsight.

Summary

Public constructors
Builder(displayDetails: InsightDisplayDetails)

Creates a new builder for a AugmentedAutofillOptionInsight.

Public methods
AugmentedAutofillOptionInsight.Builder

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

AugmentedAutofillOptionInsight

Builds the AugmentedAutofillOptionInsight.

Public constructors

Builder

Builder(displayDetails: InsightDisplayDetails)

Creates a new builder for a AugmentedAutofillOptionInsight.

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

Public methods

addInlineSuggestionHint

fun addInlineSuggestionHint(suggestionHint: String): AugmentedAutofillOptionInsight.Builder

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.
Return
AugmentedAutofillOptionInsight.Builder This value cannot be null.

build

fun build(): AugmentedAutofillOptionInsight

Builds the AugmentedAutofillOptionInsight.

Return
AugmentedAutofillOptionInsight This value cannot be null.