-
public interface AdsIdentifierProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAdsIdentifierProvider.AdsIdentifierListenerInterface used to callback from
-
Method Summary
Modifier and Type Method Description abstract voidcheckAvailability()Is this provider available to use? abstract voidgetAdsIdentifier(AdsIdentifierProvider.AdsIdentifierListener listener)Retrieve the advertising id value and the opt-out state asynchronously -
-
Method Detail
-
checkAvailability
abstract void checkAvailability()
Is this provider available to use? This is the place to check if the libraries are here atruntime and if the user enabled/disabled your provider.
If not available, you should throw a AdsIdentifierProviderAvailabilityException withthe human-readable error message.
-
getAdsIdentifier
abstract void getAdsIdentifier(AdsIdentifierProvider.AdsIdentifierListener listener)
Retrieve the advertising id value and the opt-out state asynchronously
-
-
-
-