Builder
class Builder
kotlin.Any | |
↳ | android.adservices.signals.UpdateSignalsRequest.Builder |
Builder for UpdateSignalsRequest
objects.
Summary
Public constructors | |
---|---|
Instantiates a |
Public methods | |
---|---|
UpdateSignalsRequest |
build() Builds an instance of a |
UpdateSignalsRequest.Builder |
setUpdateUri(updateUri: Uri) Sets the |
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 . |