Package com.batch.android
Interface AdsIdentifierProvider
-
- All Known Implementing Classes:
GCMAdsIdentifierProvider
public interface AdsIdentifierProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceAdsIdentifierProvider.AdsIdentifierListenerInterface used to callback from
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckAvailability()Is this provider available to use? This is the place to check if the libraries are here at runtime and if the user enabled/disabled your provider.voidgetAdsIdentifier(AdsIdentifierProvider.AdsIdentifierListener listener)Retrieve the advertising id value and the opt-out state asynchronously
-
-
-
Method Detail
-
checkAvailability
void checkAvailability() throws AdsIdentifierProviderAvailabilityExceptionIs this provider available to use? This is the place to check if the libraries are here at runtime and if the user enabled/disabled your provider.If not available, you should throw a
AdsIdentifierProviderAvailabilityExceptionwith the human-readable error message.
-
getAdsIdentifier
void getAdsIdentifier(AdsIdentifierProvider.AdsIdentifierListener listener)
Retrieve the advertising id value and the opt-out state asynchronously- Parameters:
listener-
-
-