AdvertisingIdProviderInfo
abstract class AdvertisingIdProviderInfo
kotlin.Any | |
↳ | androidx.ads.identifier.provider.AdvertisingIdProviderInfo |
A AdvertisingIdProviderInfo
represents the information about an Advertising ID Provider installed on the device.
Used in cases when there are multiple Advertising ID Providers on the device. See AdvertisingIdProviderManager#getAdvertisingIdProviders
for more details.
Summary
Public methods | |
---|---|
abstract String |
Retrieves the Advertising ID Provider package name. |
abstract Intent? |
Retrieves the |
abstract Boolean |
Retrieves whether the provider has the highest priority among all the providers for the developer library, meaning its provided ID will be used. |
Public methods
getPackageName
@NonNull abstract fun getPackageName(): String
Retrieves the Advertising ID Provider package name.
getSettingsIntent
@Nullable abstract fun getSettingsIntent(): Intent?
Retrieves the Intent
to open the Advertising ID settings page for a given Advertising ID Provider.
This page should allow the user to reset Advertising IDs and change Limit Advertising Tracking preference.
isHighestPriority
abstract fun isHighestPriority(): Boolean
Retrieves whether the provider has the highest priority among all the providers for the developer library, meaning its provided ID will be used.