Added in API level 37.2
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 |
|
| Public methods | |
|---|---|
| AugmentedAutofillOptionInsight.Builder |
addInlineSuggestionHint(suggestionHint: String)Adds a hint to be passed into the inline suggestions UI. |
| AugmentedAutofillOptionInsight |
build()Builds the |
Public constructors
Builder
Added in API level 37.2
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
Added in API level 37.2
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
Added in API level 37.2
fun build(): AugmentedAutofillOptionInsight
Builds the AugmentedAutofillOptionInsight.
| Return | |
|---|---|
AugmentedAutofillOptionInsight |
This value cannot be null. |