AdvertisingIdProvider


public interface AdvertisingIdProvider


The class for the AndroidX Advertising ID Provider that should provide the resettable ID and LAT preference should implement this interface. See AdvertisingIdProviderManager for more details.

Note: The implementation of this interface must be completely thread-safe.

Summary

Public methods

abstract @NonNull String

Retrieves the Advertising ID.

abstract boolean

Retrieves whether the user has chosen to limit ad tracking (ads personalization).

Public methods

getId

abstract @NonNull String getId()

Retrieves the Advertising ID.

isLimitAdTrackingEnabled

abstract boolean isLimitAdTrackingEnabled()

Retrieves whether the user has chosen to limit ad tracking (ads personalization).