AdvertisingIdProviderInfo


@AutoValue
@AutoValue.CopyAnnotations
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 functions

abstract String

Retrieves the Advertising ID Provider package name.

abstract 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 functions

getPackageName

abstract fun getPackageName(): String

Retrieves the Advertising ID Provider package name.

getSettingsIntent

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.