GetAdSelectionDataOutcome


@ExperimentalFeatures.Ext10OptIn
class GetAdSelectionDataOutcome


This class represents the output of the AdSelectionManager#getAdSelectionData in the AdSelectionManager. The fields are populated in the case of a successful AdSelectionManager#getAdSelectionData call.

Summary

Public constructors

GetAdSelectionDataOutcome(
    adSelectionId: Long,
    adSelectionData: ByteArray?
)

Public functions

open operator Boolean
equals(other: Any?)

Checks whether two GetAdSelectionDataOutcome objects contain the same information.

open Int

Returns the hash of the GetAdSelectionDataOutcome object's data.

open String

Overrides the toString method.

Public properties

ByteArray?

The adSelectionData that is collected from device.

Long

An ID unique only to a device user that identifies a successful ad selection.

Public constructors

GetAdSelectionDataOutcome

Added in 1.1.0-beta11
GetAdSelectionDataOutcome(
    adSelectionId: Long,
    adSelectionData: ByteArray? = null
)
Parameters
adSelectionId: Long

An ID unique only to a device user that identifies a successful ad selection.

adSelectionData: ByteArray? = null

The adSelectionData that is collected from device.

Public functions

equals

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

Checks whether two GetAdSelectionDataOutcome objects contain the same information.

hashCode

open fun hashCode(): Int

Returns the hash of the GetAdSelectionDataOutcome object's data.

toString

open fun toString(): String

Overrides the toString method.

Public properties

adSelectionData

Added in 1.1.0-beta11
val adSelectionDataByteArray?

The adSelectionData that is collected from device.

adSelectionId

Added in 1.1.0-beta11
val adSelectionIdLong

An ID unique only to a device user that identifies a successful ad selection.