Builder


class Builder
kotlin.Any
   ↳ android.adservices.signals.UpdateSignalsRequest.Builder

Builder for UpdateSignalsRequest objects.

Summary

Public constructors
Builder(updateUri: Uri)

Instantiates a Builder with the Uri from which the signal updates will be fetched.

Public methods
UpdateSignalsRequest

Builds an instance of a UpdateSignalsRequest.

UpdateSignalsRequest.Builder
setUpdateUri(updateUri: Uri)

Sets the Uri from which the JSON is to be fetched.

Public constructors

Builder

Builder(updateUri: Uri)

Instantiates a Builder with the Uri from which the signal updates will be fetched.

Parameters
updateUri Uri: This value cannot be null.

Public methods

build

fun build(): UpdateSignalsRequest

Builds an instance of a UpdateSignalsRequest.

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

setUpdateUri

fun setUpdateUri(updateUri: Uri): UpdateSignalsRequest.Builder

Sets the Uri from which the JSON is to be fetched.

See getUpdateUri() ()} for details.

Parameters
updateUri Uri: This value cannot be null.
Return
UpdateSignalsRequest.Builder This value cannot be null.