AdvertisingIdProviderInfo
public
abstract
class
AdvertisingIdProviderInfo
extends Object
java.lang.Object | |
↳ | 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(Context)
for more details.
Summary
Public methods | |
---|---|
abstract
String
|
getPackageName()
Retrieves the Advertising ID Provider package name. |
abstract
Intent
|
getSettingsIntent()
Retrieves the |
abstract
boolean
|
isHighestPriority()
Retrieves whether the provider has the highest priority among all the providers for the developer library, meaning its provided ID will be used. |
Inherited methods | |
---|---|
Public methods
getPackageName
public abstract String getPackageName ()
Retrieves the Advertising ID Provider package name.
Returns | |
---|---|
String |
getSettingsIntent
public abstract Intent getSettingsIntent ()
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.
Returns | |
---|---|
Intent |
isHighestPriority
public abstract boolean isHighestPriority ()
Retrieves whether the provider has the highest priority among all the providers for the developer library, meaning its provided ID will be used.
Returns | |
---|---|
boolean |