AdvertisingIdProviderInfo


@AutoValue
@AutoValue.CopyAnnotations
public abstract class 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 getAdvertisingIdProviders for more details.

Summary

Public methods

abstract @NonNull String

Retrieves the Advertising ID Provider package name.

abstract @Nullable Intent

Retrieves the Intent to open the Advertising ID settings page for a given Advertising ID Provider.

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

public abstract @NonNull String getPackageName()

Retrieves the Advertising ID Provider package name.

getSettingsIntent

public abstract @Nullable 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.

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.