WebSourceRegistrationRequest


class WebSourceRegistrationRequest


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

Summary

Public constructors

WebSourceRegistrationRequest(
    webSourceParams: List<WebSourceParams>,
    topOriginUri: Uri,
    inputEvent: InputEvent?,
    appDestination: Uri?,
    webDestination: Uri?,
    verifiedDestination: Uri?
)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Uri?

App destination of the source.

InputEvent?

User Interaction {@link InputEvent} used by the AttributionReporting API to distinguish clicks from views.

Uri

Top level origin of publisher.

Uri?

Verified destination by the caller.

Uri?

Web destination of the source.

List<WebSourceParams>

Registration info to fetch sources.

Public constructors

WebSourceRegistrationRequest

Added in 1.0.0
WebSourceRegistrationRequest(
    webSourceParams: List<WebSourceParams>,
    topOriginUri: Uri,
    inputEvent: InputEvent? = null,
    appDestination: Uri? = null,
    webDestination: Uri? = null,
    verifiedDestination: Uri? = null
)
Parameters
webSourceParams: List<WebSourceParams>

Registration info to fetch sources.

topOriginUri: Uri

Top level origin of publisher.

inputEvent: InputEvent? = null

User Interaction {@link InputEvent} used by the AttributionReporting API to distinguish clicks from views.

appDestination: Uri? = null

App destination of the source. It is the android app {@link Uri} where corresponding conversion is expected. At least one of app destination or web destination is required.

webDestination: Uri? = null

Web destination of the source. It is the website {@link Uri} where corresponding conversion is expected. At least one of app destination or web destination is required.

verifiedDestination: Uri? = null

Verified destination by the caller. This is where the user actually landed.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

appDestination

Added in 1.0.0
val appDestinationUri?

App destination of the source. It is the android app {@link Uri} where corresponding conversion is expected. At least one of app destination or web destination is required.

inputEvent

Added in 1.0.0
val inputEventInputEvent?

User Interaction {@link InputEvent} used by the AttributionReporting API to distinguish clicks from views.

topOriginUri

Added in 1.0.0
val topOriginUriUri

Top level origin of publisher.

verifiedDestination

Added in 1.0.0
val verifiedDestinationUri?

Verified destination by the caller. This is where the user actually landed.

webDestination

Added in 1.0.0
val webDestinationUri?

Web destination of the source. It is the website {@link Uri} where corresponding conversion is expected. At least one of app destination or web destination is required.

webSourceParams

Added in 1.0.0
val webSourceParamsList<WebSourceParams>

Registration info to fetch sources.