-
- All Implemented Interfaces:
-
com.batch.android.AdsIdentifierProvider
public class GCMAdsIdentifierProvider implements AdsIdentifierProvider
-
-
Constructor Summary
Constructors Constructor Description GCMAdsIdentifierProvider(Context context)
-
Method Summary
Modifier and Type Method Description voidcheckAvailability()Is this provider available to use? voidgetAdsIdentifier(AdsIdentifierProvider.AdsIdentifierListener listener)Retrieve the advertising id value and the opt-out state asynchronously -
-
Constructor Detail
-
GCMAdsIdentifierProvider
GCMAdsIdentifierProvider(Context context)
-
-
Method Detail
-
checkAvailability
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
void getAdsIdentifier(AdsIdentifierProvider.AdsIdentifierListener listener)
Retrieve the advertising id value and the opt-out state asynchronously
-
-
-
-