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 ScreenWhisperAutofillInsight with an ActionableInsight child.

Builder(DisplayInsight displayInsight)

Creates a builder for ScreenWhisperAutofillInsight with an DisplayInsight child.

Builder(PromptInsight promptInsight)

Creates a builder for ScreenWhisperAutofillInsight with an PromptInsight child.

Public methods

ScreenWhisperAutofillInsight build()

Create and return a new ScreenWhisperAutofillInsight.

ScreenWhisperAutofillInsight.Builder setBranding(InsightBranding branding)

Sets branding to show the source of this insight.

Inherited methods

Public constructors

Builder

Added in version 37.2
public Builder (ActionableInsight actionableInsight)

Creates a builder for ScreenWhisperAutofillInsight with an ActionableInsight child.

Parameters
actionableInsight ActionableInsight: This value cannot be null.

Builder

Added in version 37.2
public Builder (DisplayInsight displayInsight)

Creates a builder for ScreenWhisperAutofillInsight with an DisplayInsight child.

Parameters
displayInsight DisplayInsight: This value cannot be null.

Builder

Added in version 37.2
public Builder (PromptInsight promptInsight)

Creates a builder for ScreenWhisperAutofillInsight with an PromptInsight child.

Parameters
promptInsight PromptInsight: This value cannot be null.

Public methods

build

Added in version 37.2
public ScreenWhisperAutofillInsight build ()

Create and return a new ScreenWhisperAutofillInsight.

Returns
ScreenWhisperAutofillInsight This value cannot be null.

setBranding

Added in version 37.2
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.