RenderingConfig.Builder
public
static
final
class
RenderingConfig.Builder
extends Object
| java.lang.Object | |
| ↳ | android.adservices.ondevicepersonalization.RenderingConfig.Builder |
This class is deprecated.
The ODP APIs are deprecated and will not be supported in future Android
releases. There is no direct replacement API available. Developers currently integrated with
these APIs must cease further integration efforts. For comprehensive details regarding this
deprecation and the future roadmap of Privacy Sandbox on Android, please consult the
official Privacy Sandbox developer documentation and announcements:
https://privacysandbox.google.com
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
|
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. |