Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

androidx.ads.identifier

Classes

AdvertisingIdClient Client for retrieving Advertising ID related info from an AndroidX ID Provider installed on the device. 
AdvertisingIdInfo Advertising ID Information. 

Exceptions

AdvertisingIdNotAvailableException Indicates an AndroidX Advertising ID is not available.