Builder


class Builder
kotlin.Any
   ↳ android.adservices.customaudience.JoinCustomAudienceRequest.Builder

Builder for JoinCustomAudienceRequest objects.

Summary

Public constructors

Public methods
JoinCustomAudienceRequest

Builds an instance of a JoinCustomAudienceRequest.

JoinCustomAudienceRequest.Builder

Sets the custom audience to join.

Public constructors

Builder

Builder()

Public methods

build

fun build(): JoinCustomAudienceRequest

Builds an instance of a JoinCustomAudienceRequest.

Return
JoinCustomAudienceRequest This value cannot be null.
Exceptions
java.lang.NullPointerException if any non-null parameter is null

setCustomAudience

fun setCustomAudience(customAudience: CustomAudience): JoinCustomAudienceRequest.Builder

Sets the custom audience to join.

See getCustomAudience() for more information.

Parameters
customAudience CustomAudience: This value cannot be null.
Return
JoinCustomAudienceRequest.Builder This value cannot be null.