ScreenWhisperAutofillInsight.Builder
public
static
final
class
ScreenWhisperAutofillInsight.Builder
extends Object
| java.lang.Object | |
| ↳ | 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(InsightBranding branding)
Sets branding to show the source of this insight. |
Inherited methods | |
|---|---|
Public constructors
Builder
public Builder (ActionableInsight actionableInsight)
Creates a builder for ScreenWhisperAutofillInsight with an
ActionableInsight child.
| Parameters | |
|---|---|
actionableInsight |
ActionableInsight: This value cannot be null. |
Builder
public Builder (DisplayInsight displayInsight)
Creates a builder for ScreenWhisperAutofillInsight with an
DisplayInsight child.
| Parameters | |
|---|---|
displayInsight |
DisplayInsight: This value cannot be null. |
Builder
public Builder (PromptInsight promptInsight)
Creates a builder for ScreenWhisperAutofillInsight with an
PromptInsight child.
| Parameters | |
|---|---|
promptInsight |
PromptInsight: This value cannot be null. |
Public methods
build
public ScreenWhisperAutofillInsight build ()
Create and return a new ScreenWhisperAutofillInsight.
| Returns | |
|---|---|
ScreenWhisperAutofillInsight |
This value cannot be null. |
setBranding
public ScreenWhisperAutofillInsight.Builder setBranding (InsightBranding branding)
Sets branding to show the source of this insight.
| Parameters | |
|---|---|
branding |
InsightBranding: This value cannot be null. |
| Returns | |
|---|---|
ScreenWhisperAutofillInsight.Builder |
This value cannot be null. |