Added in API level 37.2
Builder
class Builder
| kotlin.Any | |
| ↳ | 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(branding: InsightBranding)Sets branding to show the source of this insight. |
Public constructors
Builder
Added in API level 37.2
Builder(actionableInsight: ActionableInsight)
Creates a builder for ScreenWhisperInsight with an ActionableInsight child.
| Parameters | |
|---|---|
actionableInsight |
ActionableInsight: This value cannot be null. |
Builder
Added in API level 37.2
Builder(promptInsight: PromptInsight)
Creates a builder for ScreenWhisperInsight with an PromptInsight child.
| Parameters | |
|---|---|
promptInsight |
PromptInsight: This value cannot be null. |
Public methods
build
Added in API level 37.2
fun build(): ScreenWhisperInsight
Create and return a new ScreenWhisperInsight.
| Return | |
|---|---|
ScreenWhisperInsight |
This value cannot be null. |
setBranding
Added in API level 37.2
fun setBranding(branding: InsightBranding): ScreenWhisperInsight.Builder
Sets branding to show the source of this insight.
| Parameters | |
|---|---|
branding |
InsightBranding: This value cannot be null. |
| Return | |
|---|---|
ScreenWhisperInsight.Builder |
This value cannot be null. |