Builder


class Builder
kotlin.Any
   ↳ android.adservices.measurement.SourceRegistrationRequest.Builder

Builder for SourceRegistrationRequest.

Summary

Public constructors
Builder(registrationUris: MutableList<Uri!>)

Builder constructor for SourceRegistrationRequest.

Public methods
SourceRegistrationRequest

Pre-validates parameters and builds SourceRegistrationRequest.

SourceRegistrationRequest.Builder
setInputEvent(inputEvent: InputEvent?)

Setter corresponding to getInputEvent().

Public constructors

Builder

Builder(registrationUris: MutableList<Uri!>)

Builder constructor for SourceRegistrationRequest.

Parameters
registrationUris MutableList<Uri!>: source registration Uris This value cannot be null.
Exceptions
java.lang.IllegalArgumentException if the scheme for one or more of the registrationUris is not HTTPS

Public methods

build

fun build(): SourceRegistrationRequest

Pre-validates parameters and builds SourceRegistrationRequest.

Return
SourceRegistrationRequest This value cannot be null.

setInputEvent

fun setInputEvent(inputEvent: InputEvent?): SourceRegistrationRequest.Builder

Setter corresponding to getInputEvent().

Parameters
inputEvent InputEvent?: User Interaction InputEvent used by the AttributionReporting API to distinguish clicks from views. It will be an InputEvent object (for a click event) or null (for a view event)
Return
SourceRegistrationRequest.Builder builder This value cannot be null.