SourceRegistrationRequest.Builder


public final class SourceRegistrationRequest.Builder


Builder for SourceRegistrationRequest.

Summary

Public constructors

Builder(@NonNull List<@NonNull Uri> registrationUris)

Public methods

final @NonNull SourceRegistrationRequest

Pre-validates parameters and builds SourceRegistrationRequest.

final @NonNull SourceRegistrationRequest.Builder

Setter for input event.

Public constructors

Builder

public Builder(@NonNull List<@NonNull Uri> registrationUris)
Parameters
@NonNull List<@NonNull Uri> registrationUris

source registration request Uri

Public methods

build

Added in 1.1.0-beta11
public final @NonNull SourceRegistrationRequest build()

Pre-validates parameters and builds SourceRegistrationRequest.

setInputEvent

Added in 1.1.0-beta11
public final @NonNull SourceRegistrationRequest.Builder setInputEvent(@NonNull InputEvent inputEvent)

Setter for input event.

Parameters
@NonNull InputEvent inputEvent

User Interaction InputEvent used by the AttributionReporting API to distinguish clicks from views.