- init
AdmodUtils.initAdmob(Context context, boolean isDebug, boolean isAddDeviceTest);
// isDebug:bool = use admob id test
// isAddDeviceTest:bool = get and add device test this device
- Interstitial
- loadAndShowAdInterstitialWithCallback
AdmodUtils.loadAndShowAdInterstitialWithCallback(context, admobId, limitTime,
new AdCallback() {
@Override
public void onAdClosed() {
//code here
}
@Override
public void onAdFail() {
//code here
}
}, isEnableDialog);
// admobId:String
// limitTime:Int (milisecond)
// isEnableDialog:Bool
- loadAdInterstitial
- showAdInterstitialWithCallback
- AdBanner
- AdReward
- AdNative
- AppOpenAds
- init
PurchaseUtils.initBilling(Context context,String play_console_license, String idSubscribe);
- subscribe
PurchaseUtils.subscribe(Activity context, String idSubscribe);
- isPurchased
PurchaseUtils.isPurchased(String idSubscribe);