Interface NativeAdUnitCallback

  • All Implemented Interfaces:
    com.inmobi.media.ads.common.listeners.AdUnitCallback , com.inmobi.media.ads.common.listeners.FullScreenListener , com.inmobi.media.ads.common.listeners.VideoEventListener

    
    public interface NativeAdUnitCallback
     implements AdUnitCallback, VideoEventListener
                        

    Callback interface for native ad unit events. This interface extends AdUnitCallback and VideoEventListener to provide specific callbacks for native ad lifecycle events and video-related events.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onLoadSuccess(NativePubData pubData) Called when the native ad has been successfully loaded with data.
      abstract Unit onAdRendered() Called when the native ad has been successfully rendered on the screen.
      • Methods inherited from class com.inmobi.media.ads.common.listeners.AdUnitCallback

        onAdClicked, onAdImpression, onLoadFailure, onUserLeftApplication
      • Methods inherited from class com.inmobi.media.ads.common.listeners.FullScreenListener

        onAdFullScreenDismissed, onAdFullScreenDisplayed
      • Methods inherited from class com.inmobi.media.ads.common.listeners.VideoEventListener

        onAudioStateChanged, onVideoCompleted, onVideoPaused, onVideoResumed, onVideoStarted
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onLoadSuccess

         abstract Unit onLoadSuccess(NativePubData pubData)

        Called when the native ad has been successfully loaded with data.

        Parameters:
        pubData - The public data containing all the native ad information.
      • onAdRendered

         abstract Unit onAdRendered()

        Called when the native ad has been successfully rendered on the screen.