Builder
class Builder
| kotlin.Any | |
| ↳ | android.app.personalcontext.insight.ScreenWhisperAutofillInsight.Builder |
Builder for ScreenWhisperAutofillInsight.
Summary
| Public constructors | |
|---|---|
Builder(actionableInsight: ActionableInsight)Creates a builder for |
|
Builder(displayInsight: DisplayInsight)Creates a builder for |
|
Builder(promptInsight: PromptInsight)Creates a builder for |
|
| Public methods | |
|---|---|
| ScreenWhisperAutofillInsight |
build()Create and return a new |
| ScreenWhisperAutofillInsight.Builder |
setBranding(branding: InsightBranding)Sets branding to show the source of this insight. |
Public constructors
Builder
Builder(actionableInsight: ActionableInsight)
Creates a builder for ScreenWhisperAutofillInsight with an ActionableInsight child.
| Parameters | |
|---|---|
actionableInsight |
ActionableInsight: This value cannot be null. |
Builder
Builder(displayInsight: DisplayInsight)
Creates a builder for ScreenWhisperAutofillInsight with an DisplayInsight child.
| Parameters | |
|---|---|
displayInsight |
DisplayInsight: This value cannot be null. |
Builder
Builder(promptInsight: PromptInsight)
Creates a builder for ScreenWhisperAutofillInsight with an PromptInsight child.
| Parameters | |
|---|---|
promptInsight |
PromptInsight: This value cannot be null. |
Public methods
build
fun build(): ScreenWhisperAutofillInsight
Create and return a new ScreenWhisperAutofillInsight.
| Return | |
|---|---|
ScreenWhisperAutofillInsight |
This value cannot be null. |
setBranding
fun setBranding(branding: InsightBranding): ScreenWhisperAutofillInsight.Builder
Sets branding to show the source of this insight.
| Parameters | |
|---|---|
branding |
InsightBranding: This value cannot be null. |
| Return | |
|---|---|
ScreenWhisperAutofillInsight.Builder |
This value cannot be null. |