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.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `NativeAdEventListener()` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `Unit` | `onAdFullScreenDismissed(InMobiNative ad)` |
    `Unit` | `onAdFullScreenDisplayed(InMobiNative ad)` | Called to notify that the ad opened an overlay that covers the screen.
    `Unit` | `onUserWillLeaveApplication(InMobiNative ad)` | Called to notify that the user is about to leave the application as a result of interacting with it.
    `Unit` | `onAdClicked(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`

- - ### Constructor Detail

    - #### NativeAdEventListener

          NativeAdEventListener()

  - ### 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