PersistAdSelectionResultRequest


class PersistAdSelectionResultRequest

Represents a request containing the seller, the ad selection data id and data.

Instances of this class are created by SDKs to be provided as arguments to the android.adservices.adselection.AdSelectionManager#persistAdSelectionResult methods in AdSelectionManager.

Summary

Nested classes

Builder for PersistAdSelectionResultRequest objects.

Public methods

getAdSelectionId

fun getAdSelectionId(): Long

Deprecated: Use the getAdSelectionDataId() instead, the underlying value is enforced to be the same.

Return
Long an ad selection id.

getAdSelectionResult

fun getAdSelectionResult(): ByteArray?
Return
ByteArray? an ad selection result. This value may be null.

getSeller

fun getSeller(): AdTechIdentifier?
Return
AdTechIdentifier? a seller. This value may be null.