public final class AdId


A unique, user-resettable, device-wide, per-profile ID for advertising as returned by the AdIdManager#getAdId() API.

Ad networks may use {@code AdId} to monetize for Interest Based Advertising (IBA), i.e. targeting and remarketing ads. The user may limit availability of this identifier.

Summary

Public methods

boolean
equals(Object other)
final @NonNull String

The advertising ID.

int
final boolean

the limit ad tracking enabled setting.

@NonNull String

Public methods

equals

public boolean equals(Object other)

getAdId

Added in 1.0.0
public final @NonNull String getAdId()

The advertising ID.

hashCode

public int hashCode()

isLimitAdTrackingEnabled

Added in 1.0.0
public final boolean isLimitAdTrackingEnabled()

the limit ad tracking enabled setting.

toString

public @NonNull String toString()