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

Builder

Added in API level 35
public Builder ()

Public methods

addKey

Added in API level 35
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

Added in API level 35
public RenderingConfig build ()

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

Returns
RenderingConfig This value cannot be null.

setKeys

Added in API level 35
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.