public class InterstitialPresenterDecorator extends java.lang.Object implements InterstitialPresenter, InterstitialPresenter.Listener
InterstitialPresenter.Listener| Constructor and Description |
|---|
InterstitialPresenterDecorator(InterstitialPresenter interstitialPresenter,
AdTracker adTrackingDelegate,
InterstitialPresenter.Listener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Ad |
getAd() |
boolean |
isReady() |
void |
load() |
void |
onInterstitialClicked(InterstitialPresenter interstitialPresenter) |
void |
onInterstitialDismissed(InterstitialPresenter interstitialPresenter) |
void |
onInterstitialError(InterstitialPresenter interstitialPresenter) |
void |
onInterstitialLoaded(InterstitialPresenter interstitialPresenter) |
void |
onInterstitialShown(InterstitialPresenter interstitialPresenter) |
void |
setListener(InterstitialPresenter.Listener listener) |
void |
show() |
public InterstitialPresenterDecorator(InterstitialPresenter interstitialPresenter, AdTracker adTrackingDelegate, InterstitialPresenter.Listener listener)
public void setListener(InterstitialPresenter.Listener listener)
setListener in interface InterstitialPresenterpublic Ad getAd()
getAd in interface InterstitialPresenterpublic void load()
load in interface InterstitialPresenterpublic boolean isReady()
isReady in interface InterstitialPresenterpublic void show()
show in interface InterstitialPresenterpublic void destroy()
destroy in interface InterstitialPresenterpublic void onInterstitialLoaded(InterstitialPresenter interstitialPresenter)
onInterstitialLoaded in interface InterstitialPresenter.Listenerpublic void onInterstitialShown(InterstitialPresenter interstitialPresenter)
onInterstitialShown in interface InterstitialPresenter.Listenerpublic void onInterstitialClicked(InterstitialPresenter interstitialPresenter)
onInterstitialClicked in interface InterstitialPresenter.Listenerpublic void onInterstitialDismissed(InterstitialPresenter interstitialPresenter)
onInterstitialDismissed in interface InterstitialPresenter.Listenerpublic void onInterstitialError(InterstitialPresenter interstitialPresenter)
onInterstitialError in interface InterstitialPresenter.Listener