AdvertisingIdProvider

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 functions

String

Retrieves the Advertising ID.

Boolean

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

Public functions

getId

fun getId(): String

Retrieves the Advertising ID.

isLimitAdTrackingEnabled

fun isLimitAdTrackingEnabled(): Boolean

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