WebSourceRegistrationRequest


class WebSourceRegistrationRequest : Parcelable
kotlin.Any
   ↳ android.adservices.measurement.WebSourceRegistrationRequest

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

Summary

Nested classes

Builder for WebSourceRegistrationRequest.

Inherited constants
Public methods
Int

Boolean
equals(other: Any?)

Uri?

Getter for the app destination.

InputEvent?

Getter for input event.

MutableList<WebSourceParams!>

Getter for source params.

Uri

Getter for top origin Uri.

Uri?

Getter for verified destination.

Uri?

Getter for web destination.

Int

Unit
writeToParcel(out: Parcel, flags: Int)

Flatten this object in to a Parcel.

Properties
static Parcelable.Creator<WebSourceRegistrationRequest!>

Creator for Paracelable (via reflection).

Public methods

describeContents

Added in API level 34
fun describeContents(): Int
Return
Int a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR

equals

Added in API level 34
fun equals(other: Any?): Boolean
Parameters
obj the reference object with which to compare.
Return
Boolean true if this object is the same as the obj argument; false otherwise.

getAppDestination

fun getAppDestination(): Uri?

Getter for the app destination. It is the android app Uri where corresponding conversion is expected. At least one of app destination or web destination is required.

Return
Uri? This value may be null.

getInputEvent

fun getInputEvent(): InputEvent?

Getter for input event.

Return
InputEvent? This value may be null.

getSourceParams

fun getSourceParams(): MutableList<WebSourceParams!>

Getter for source params.

Return
MutableList<WebSourceParams!> This value cannot be null.

getTopOriginUri

fun getTopOriginUri(): Uri

Getter for top origin Uri.

Return
Uri This value cannot be null.

getVerifiedDestination

fun getVerifiedDestination(): Uri?

Getter for verified destination.

Return
Uri? This value may be null.

getWebDestination

fun getWebDestination(): Uri?

Getter for web destination. It is the website Uri where corresponding conversion is expected. At least one of app destination or web destination is required.

Return
Uri? This value may be null.

hashCode

Added in API level 34
fun hashCode(): Int
Return
Int a hash code value for this object.

writeToParcel

Added in API level 34
fun writeToParcel(
    out: Parcel,
    flags: Int
): Unit

Flatten this object in to a Parcel.

Parameters
dest The Parcel in which the object should be written. This value cannot be null.
flags Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES
out Parcel: This value cannot be null.

Properties

CREATOR

static val CREATOR: Parcelable.Creator<WebSourceRegistrationRequest!>

Creator for Paracelable (via reflection).