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 |
|
Public methods | |
|---|---|
AugmentedAutofillOptionInsight.Builder
|
addInlineSuggestionHint(String suggestionHint)
Adds a hint to be passed into the inline suggestions UI. |
AugmentedAutofillOptionInsight
|
build()
Builds the |
Inherited methods | |
|---|---|
Public constructors
Builder
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
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
public AugmentedAutofillOptionInsight build ()
Builds the AugmentedAutofillOptionInsight.
| Returns | |
|---|---|
AugmentedAutofillOptionInsight |
This value cannot be null. |