SourceRegistrationRequest


@ExperimentalFeatures.RegisterSourceOptIn
public final class SourceRegistrationRequest


Class to hold input to measurement source registration calls from web context.

Summary

Nested types

Builder for SourceRegistrationRequest.

Public constructors

SourceRegistrationRequest(
    @NonNull List<@NonNull Uri> registrationUris,
    InputEvent inputEvent
)

Public methods

boolean
equals(Object other)
final InputEvent

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

final @NonNull List<@NonNull Uri>

List of Registration Uris to fetch sources.

int
@NonNull String

Public constructors

SourceRegistrationRequest

public SourceRegistrationRequest(
    @NonNull List<@NonNull Uri> registrationUris,
    InputEvent inputEvent
)
Parameters
@NonNull List<@NonNull Uri> registrationUris

List of Registration Uris to fetch sources.

InputEvent inputEvent

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

Public methods

equals

public boolean equals(Object other)

getInputEvent

Added in 1.1.0-beta11
public final InputEvent getInputEvent()

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

getRegistrationUris

Added in 1.1.0-beta11
public final @NonNull List<@NonNull UrigetRegistrationUris()

List of Registration Uris to fetch sources.

hashCode

public int hashCode()

toString

public @NonNull String toString()