Package com.inmobi.ads.listeners
Class NativeAdEventListener
-
- All Implemented Interfaces:
public abstract class NativeAdEventListener extends AdEventListener<InMobiNative>
A listener for receiving notifications during the lifecycle of a Native ad.
-
-
Constructor Summary
Constructors Constructor Description NativeAdEventListener()
-
Method Summary
Modifier and Type Method Description UnitonAdFullScreenDismissed(InMobiNative ad)UnitonAdFullScreenDisplayed(InMobiNative ad)Called to notify that the ad opened an overlay that covers the screen. UnitonUserWillLeaveApplication(InMobiNative ad)Called to notify that the user is about to leave the application as a result of interacting with it. UnitonAdClicked(InMobiNative ad)Called to notify ad was clicked. -
Methods inherited from class com.inmobi.ads.listeners.AdEventListener
onAdClicked, onAdFetchSuccessful, onAdImpression, onAdLoadFailed, onAdLoadSucceeded, onRequestPayloadCreated, onRequestPayloadCreationFailed -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onAdFullScreenDismissed
Unit onAdFullScreenDismissed(InMobiNative ad)
- Parameters:
ad- Represents the InMobiNative ad whose fullscreen was dismissed
-
onAdFullScreenDisplayed
Unit onAdFullScreenDisplayed(InMobiNative ad)
Called to notify that the ad opened an overlay that covers the screen.
- Parameters:
ad- Represents the InMobiNative ad whose fullscreen will be displayed
-
onUserWillLeaveApplication
Unit onUserWillLeaveApplication(InMobiNative ad)
Called to notify that the user is about to leave the application as a result of interacting with it.
- Parameters:
ad- Represents the InMobiNative ad
-
onAdClicked
Unit onAdClicked(InMobiNative ad)
Called to notify ad was clicked. **Note:**Override this method to notify click to the Mediation Adapter.
- Parameters:
ad- Represents the InMobiNative ad which was clicked
-
-
-
-