Builder
class Builder
kotlin.Any | |
↳ | android.adservices.customaudience.JoinCustomAudienceRequest.Builder |
Builder for JoinCustomAudienceRequest
objects.
Summary
Public constructors | |
---|---|
Builder() |
Public methods | |
---|---|
JoinCustomAudienceRequest |
build() Builds an instance of a |
JoinCustomAudienceRequest.Builder |
setCustomAudience(customAudience: CustomAudience) Sets the custom audience to join. |
Public constructors
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 . |