WebTriggerParams


public final class WebTriggerParams


Class holding trigger registration parameters.

Summary

Public constructors

WebTriggerParams(@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 trigger registration parameters.

int
@NonNull String

Public constructors

WebTriggerParams

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

URI that the Attribution Reporting API sends a request to in order to obtain trigger 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 trigger registration parameters.

hashCode

public int hashCode()

toString

public @NonNull String toString()