WebSourceParams


public final class WebSourceParams


Class holding source registration parameters.

Summary

Public constructors

WebSourceParams(@NonNull Uri registrationUri, boolean debugKeyAllowed)

Public methods

boolean
equals(Object other)
final boolean

Used by the browser to indicate whether the debug key obtained from the registration URI is allowed to be used.

final @NonNull Uri

URI that the Attribution Reporting API sends a request to in order to obtain source registration parameters.

int
@NonNull String

Public constructors

WebSourceParams

Added in 1.0.0
public WebSourceParams(@NonNull Uri registrationUri, boolean debugKeyAllowed)
Parameters
@NonNull Uri registrationUri

URI that the Attribution Reporting API sends a request to in order to obtain source registration parameters.

boolean debugKeyAllowed

Used by the browser to indicate whether the debug key obtained from the registration URI is allowed to be used.

Public methods

equals

public boolean equals(Object other)

getDebugKeyAllowed

Added in 1.0.0
public final boolean getDebugKeyAllowed()

Used by the browser to indicate whether the debug key obtained from the registration URI is allowed to be used.

getRegistrationUri

Added in 1.0.0
public final @NonNull Uri getRegistrationUri()

URI that the Attribution Reporting API sends a request to in order to obtain source registration parameters.

hashCode

public int hashCode()

toString

public @NonNull String toString()