GetAdSelectionDataOutcome


class GetAdSelectionDataOutcome
kotlin.Any
   ↳ android.adservices.adselection.GetAdSelectionDataOutcome

Represents ad selection data collected from device for ad selection.

Summary

Public methods
ByteArray?

Returns the adSelectionData that is collected from device.

Long

Returns the id that uniquely identifies this GetAdSelectionData payload.

Long

Returns the adSelectionId that identifies the AdSelection.

Public methods

getAdSelectionData

fun getAdSelectionData(): ByteArray?

Returns the adSelectionData that is collected from device.

Return
ByteArray? This value may be null.

getAdSelectionDataId

fun getAdSelectionDataId(): Long

Returns the id that uniquely identifies this GetAdSelectionData payload.

getAdSelectionId

fun getAdSelectionId(): Long

Deprecated: Use the getAdSelectionDataId() instead.

Returns the adSelectionId that identifies the AdSelection.