|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomEventBannerListener
A 'listener' object implementing this interface is passed to the
CustomEventBanner.requestBannerAd(com.google.ads.mediation.customevent.CustomEventBannerListener, android.app.Activity, java.lang.String, java.lang.String, com.google.ads.AdSize, com.google.ads.mediation.MediationAdRequest)
method. Calling the methods of this listener object
can be used to report events to the mediation framework and control mediation behavior.
Method Summary | |
---|---|
void |
onClick()
Calling this method signals the mediation framework to report a click to the mediation server, associated with this custom event. |
void |
onReceivedAd(View view)
Calling this method signals the mediation framework that execution of the custom event has completed successfully. |
Methods inherited from interface com.google.ads.mediation.customevent.CustomEventListener |
---|
onDismissScreen, onFailedToReceiveAd, onLeaveApplication, onPresentScreen |
Method Detail |
---|
void onReceivedAd(View view)
AdView
.
If the AdView
has an associated listener object, its
AdListener.onReceiveAd(com.google.ads.Ad)
will be called as well.
If neither this nor CustomEventListener.onFailedToReceiveAd()
is called within a certain time interval
after CustomEventBanner.requestBannerAd(com.google.ads.mediation.customevent.CustomEventBannerListener, android.app.Activity, java.lang.String, java.lang.String, com.google.ads.AdSize, com.google.ads.mediation.MediationAdRequest)
has been called, the mediation
framework will assume the custom event failed and will move on to the next ad network (or
custom event).
CustomEventListener.onFailedToReceiveAd()
void onClick()
This method must not be called before onReceivedAd(android.view.View)
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |