Builder
class Builder
| kotlin.Any | |
| ↳ | android.adservices.customaudience.TrustedBiddingData.Builder | 
Builder for TrustedBiddingData objects.
Summary
| Public constructors | |
|---|---|
| Builder() | |
| Public methods | |
|---|---|
| TrustedBiddingData | build()Builds the  | 
| TrustedBiddingData.Builder | setTrustedBiddingKeys(trustedBiddingKeys: MutableList<String!>)Sets the list of keys to query the trusted key-value server with. | 
| TrustedBiddingData.Builder | setTrustedBiddingUri(trustedBiddingUri: Uri)Sets the URI pointing to a trusted key-value server used to fetch bidding signals during the ad selection process. | 
Public constructors
Public methods
build
fun build(): TrustedBiddingData
Builds the TrustedBiddingData object.
| Return | |
|---|---|
| TrustedBiddingData | This value cannot be null. | 
| Exceptions | |
|---|---|
| java.lang.NullPointerException | if any parameters are null when built | 
setTrustedBiddingKeys
fun setTrustedBiddingKeys(trustedBiddingKeys: MutableList<String!>): TrustedBiddingData.Builder
Sets the list of keys to query the trusted key-value server with.
This list is permitted to be empty, but it must not be null.
| Parameters | |
|---|---|
| trustedBiddingKeys | MutableList<String!>: This value cannot be null. | 
setTrustedBiddingUri
fun setTrustedBiddingUri(trustedBiddingUri: Uri): TrustedBiddingData.Builder
Sets the URI pointing to a trusted key-value server used to fetch bidding signals during the ad selection process. The URI must use HTTPS.
| Parameters | |
|---|---|
| trustedBiddingUri | Uri: This value cannot be null. | 
| Return | |
|---|---|
| TrustedBiddingData.Builder | This value cannot be null. | 
