Added in API level 35
Builder
class Builder
kotlin.Any | |
↳ | android.adservices.ondevicepersonalization.RenderingConfig.Builder |
A builder for RenderingConfig
Summary
Public constructors | |
---|---|
Builder() |
Public methods | |
---|---|
RenderingConfig.Builder | |
RenderingConfig |
build() Builds the instance. |
RenderingConfig.Builder |
setKeys(value: MutableList<String!>) A List of keys in the REMOTE_DATA |
Public constructors
Public methods
addKey
Added in API level 35
fun addKey(value: String): RenderingConfig.Builder
Parameters | |
---|---|
value |
String: This value cannot be null . |
Return | |
---|---|
RenderingConfig.Builder |
This value cannot be null . |
See Also
build
Added in API level 35
fun build(): RenderingConfig
Builds the instance. This builder should not be touched after calling this!
Return | |
---|---|
RenderingConfig |
This value cannot be null . |
setKeys
Added in API level 35
fun setKeys(value: MutableList<String!>): RenderingConfig.Builder
A List of keys in the REMOTE_DATA IsolatedService#getRemoteData(RequestToken)
table that identify the content to be rendered.
Parameters | |
---|---|
value |
MutableList<String!>: This value cannot be null . |
Return | |
---|---|
RenderingConfig.Builder |
This value cannot be null . |