Dash Stats Docs

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.

Author:AppBrain

Methods

public void onAdRequestDone(boolean adAvailable)

Gets called after a call to AppBrainBanner.requestAd(). This method gets called on the UI thread.

Parameters:
  • adAvailable – Whether there’s an ad available to serve or not.
public void onClick()

Gets called when a banner receives a click from the user. This method gets called on the UI thread.