public abstract class InneractiveNativeAdEventsListenerAdapter extends java.lang.Object implements InneractiveNativeAdEventsListener
InneractiveNativeAdEventsListener.
Any custom listener that cares only about a subset of the methods of this listener can
simply subclass this adapter class instead of implementing the interface directly.| Constructor and Description |
|---|
InneractiveNativeAdEventsListenerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAdClicked(InneractiveAdSpot adSpot)
Called after Inneractive tracked an ad click
|
void |
onAdEnteredErrorState(InneractiveAdSpot adSpot,
InneractiveUnitController.AdDisplayError error)
Called when an ad has entered an error state, this will only happen when the ad is being shown
|
void |
onAdImpression(InneractiveAdSpot adSpot)
Called after Inneractive tracked an ad impression
|
void |
onAdWillCloseInternalBrowser(InneractiveAdSpot adSpot)
Called after Inneractive decided to open another application, due to a click
|
void |
onAdWillOpenExternalApp(InneractiveAdSpot adSpot)
Called after Inneractive decided to open another application, due to a click
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonAdCollapsed, onAdExpandedpublic InneractiveNativeAdEventsListenerAdapter()
public void onAdImpression(InneractiveAdSpot adSpot)
onAdImpression in interface InneractiveNativeAdEventsListeneronAdImpression in interface InneractiveUnitController.EventsListenerpublic void onAdClicked(InneractiveAdSpot adSpot)
onAdClicked in interface InneractiveNativeAdEventsListeneronAdClicked in interface InneractiveUnitController.EventsListenerpublic void onAdWillCloseInternalBrowser(InneractiveAdSpot adSpot)
onAdWillCloseInternalBrowser in interface InneractiveNativeAdEventsListeneronAdWillCloseInternalBrowser in interface InneractiveUnitController.EventsListenerpublic void onAdWillOpenExternalApp(InneractiveAdSpot adSpot)
onAdWillOpenExternalApp in interface InneractiveNativeAdEventsListeneronAdWillOpenExternalApp in interface InneractiveUnitController.EventsListenerpublic void onAdEnteredErrorState(InneractiveAdSpot adSpot, InneractiveUnitController.AdDisplayError error)
onAdEnteredErrorState in interface InneractiveNativeAdEventsListeneronAdEnteredErrorState in interface InneractiveUnitController.EventsListeneradSpot - the relevant ad spot