public class InterstitialPresenterDecorator extends java.lang.Object implements InterstitialPresenter, InterstitialPresenter.Listener, VideoListener
InterstitialPresenter.Listener| Constructor and Description |
|---|
InterstitialPresenterDecorator(InterstitialPresenter interstitialPresenter,
AdTracker adTrackingDelegate,
ReportingController reportingController,
InterstitialPresenter.Listener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Ad |
getAd() |
org.json.JSONObject |
getPlacementParams() |
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 |
onVideoDismissed(int progressPercentage) |
void |
onVideoError(int progressPercentage) |
void |
onVideoFinished() |
void |
onVideoStarted() |
void |
setListener(InterstitialPresenter.Listener listener) |
void |
setVideoListener(VideoListener listener) |
void |
show() |
public InterstitialPresenterDecorator(InterstitialPresenter interstitialPresenter, AdTracker adTrackingDelegate, ReportingController reportingController, InterstitialPresenter.Listener listener)
public void setListener(InterstitialPresenter.Listener listener)
setListener in interface InterstitialPresenterpublic void setVideoListener(VideoListener listener)
setVideoListener 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 org.json.JSONObject getPlacementParams()
getPlacementParams 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.Listenerpublic void onVideoError(int progressPercentage)
onVideoError in interface VideoListenerpublic void onVideoStarted()
onVideoStarted in interface VideoListenerpublic void onVideoDismissed(int progressPercentage)
onVideoDismissed in interface VideoListenerpublic void onVideoFinished()
onVideoFinished in interface VideoListener