RequestLogRecord.Builder


public static final class RequestLogRecord.Builder
extends Object

java.lang.Object
   ↳ android.adservices.ondevicepersonalization.RequestLogRecord.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 RequestLogRecord

Summary

Public constructors

Builder()

Public methods

RequestLogRecord.Builder addRow(ContentValues value)
RequestLogRecord build()

Builds the instance.

RequestLogRecord.Builder setRows(List<ContentValues> value)

A List of rows, each containing a ContentValues.

Inherited methods

Public constructors

Builder

Added in API level 35
public Builder ()

Public methods

addRow

Added in API level 35
public RequestLogRecord.Builder addRow (ContentValues value)

Parameters
value ContentValues: This value cannot be null.

Returns
RequestLogRecord.Builder This value cannot be null.

See also:

build

Added in API level 35
public RequestLogRecord build ()

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

Returns
RequestLogRecord This value cannot be null.

setRows

Added in API level 35
public RequestLogRecord.Builder setRows (List<ContentValues> value)

A List of rows, each containing a ContentValues.

Parameters
value List: This value cannot be null.

Returns
RequestLogRecord.Builder This value cannot be null.