Added in API level 35

Builder


class Builder
kotlin.Any
   ↳ android.adservices.ondevicepersonalization.DownloadCompletedOutput.Builder

A builder for DownloadCompletedOutput

Summary

Public constructors

Public methods
DownloadCompletedOutput.Builder

DownloadCompletedOutput

Builds the instance.

DownloadCompletedOutput.Builder

The keys to be retained in the REMOTE_DATA table.

Public constructors

Builder

Added in API level 35
Builder()

Public methods

addRetainedKey

Added in API level 35
fun addRetainedKey(value: String): DownloadCompletedOutput.Builder
Parameters
value String: This value cannot be null.
Return
DownloadCompletedOutput.Builder This value cannot be null.

See Also

build

Added in API level 35
fun build(): DownloadCompletedOutput

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

Return
DownloadCompletedOutput This value cannot be null.

setRetainedKeys

Added in API level 35
fun setRetainedKeys(value: MutableList<String!>): DownloadCompletedOutput.Builder

The keys to be retained in the REMOTE_DATA table. Any existing keys that are not present in this list are removed from the table.

Parameters
value MutableList<String!>: This value cannot be null.
Return
DownloadCompletedOutput.Builder This value cannot be null.