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