Interface BannerListener
public interface BannerListener
This is a listener interface to be notified when someone clicked the AppBrain banner. This is
purely for reporting purposes, the implementation takes care of opening the offerwall etc.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonAdRequestDone(boolean adAvailable) Gets called after a call toAppBrainBanner.requestAd().voidonClick()Gets called when a banner receives a click from the user.
-
Method Details
-
onClick
void onClick()Gets called when a banner receives a click from the user. This method gets called on the UI thread. -
onAdRequestDone
void onAdRequestDone(boolean adAvailable) Gets called after a call toAppBrainBanner.requestAd(). This method gets called on the UI thread.- Parameters:
adAvailable- Whether there's an ad available to serve or not.
-