public interface

BannerListener

com.appbrain.BannerListener

Class Overview

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.

Summary

Public Methods
abstract void onAdRequestDone(boolean adAvailable)
Gets called after a call to requestAd().
abstract void onClick()
Gets called when a banner receives a click from the user.

Public Methods

public abstract void onAdRequestDone (boolean adAvailable)

Gets called after a call to requestAd(). The thread on which this method gets called is unspecified (it may be the UI thread or it may not be).

Parameters
adAvailable Whether there's an ad available to serve or not.

public abstract void onClick ()

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