DownloadCompletedOutput.Builder
public
static
final
class
DownloadCompletedOutput.Builder
extends Object
| java.lang.Object | |
| ↳ | android.adservices.ondevicepersonalization.DownloadCompletedOutput.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 DownloadCompletedOutput
Summary
Public constructors | |
|---|---|
Builder()
|
|
Public methods | |
|---|---|
DownloadCompletedOutput.Builder
|
addRetainedKey(String value)
|
DownloadCompletedOutput
|
build()
Builds the instance. |
DownloadCompletedOutput.Builder
|
setRetainedKeys(List<String> value)
The keys to be retained in the REMOTE_DATA table. |
Inherited methods | |
|---|---|
Public constructors
Public methods
addRetainedKey
public DownloadCompletedOutput.Builder addRetainedKey (String value)
| Parameters | |
|---|---|
value |
String: This value cannot be null. |
| Returns | |
|---|---|
DownloadCompletedOutput.Builder |
This value cannot be null. |
See also:
build
public DownloadCompletedOutput build ()
Builds the instance. This builder should not be touched after calling this!
| Returns | |
|---|---|
DownloadCompletedOutput |
This value cannot be null. |
setRetainedKeys
public DownloadCompletedOutput.Builder setRetainedKeys (List<String> value)
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 |
List: This value cannot be null. |
| Returns | |
|---|---|
DownloadCompletedOutput.Builder |
This value cannot be null. |