RenderingConfig.Builder

public static final class RenderingConfig.Builder
extends Object

java.lang.Object
   ↳ android.adservices.ondevicepersonalization.RenderingConfig.Builder


A builder for RenderingConfig

Summary

Public constructors

Builder()

Public methods

RenderingConfig.Builder addKey(String value)
RenderingConfig build()

Builds the instance.

RenderingConfig.Builder setKeys(List<String> value)

A List of keys in the REMOTE_DATA IsolatedService#getRemoteData(RequestToken) table that identify the content to be rendered.

Inherited methods

Public constructors

Public methods

addKey

public RenderingConfig.Builder addKey (String value)

Parameters
value String: This value cannot be null.

Returns
RenderingConfig.Builder This value cannot be null.

See also:

build

public RenderingConfig build ()

Builds the instance. This builder should not be touched after calling this!

Returns
RenderingConfig This value cannot be null.

setKeys

public RenderingConfig.Builder setKeys (List<String> value)

A List of keys in the REMOTE_DATA IsolatedService#getRemoteData(RequestToken) table that identify the content to be rendered.

Parameters
value List: This value cannot be null.

Returns
RenderingConfig.Builder This value cannot be null.