GetAdSelectionDataOutcome


public final class GetAdSelectionDataOutcome
extends Object

java.lang.Object
   ↳ android.adservices.adselection.GetAdSelectionDataOutcome


Represents ad selection data collected from device for ad selection.

Summary

Public methods

byte[] getAdSelectionData()

Returns the adSelectionData that is collected from device.

long getAdSelectionDataId()

Returns the id that uniquely identifies this GetAdSelectionData payload.

long getAdSelectionId()

This method was deprecated in API level Baklava. Use the getAdSelectionDataId() instead.

Inherited methods

Public methods

getAdSelectionData

public byte[] getAdSelectionData ()

Returns the adSelectionData that is collected from device.

Returns
byte[] This value may be null.

getAdSelectionDataId

public long getAdSelectionDataId ()

Returns the id that uniquely identifies this GetAdSelectionData payload.

Returns
long

getAdSelectionId

public long getAdSelectionId ()

This method was deprecated in API level Baklava.
Use the getAdSelectionDataId() instead.

Returns the adSelectionId that identifies the AdSelection.

Returns
long