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.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonLoadSuccess(NativePubData pubData)Called when the native ad has been successfully loaded with data. abstract UnitonAdRendered()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
-
-
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.
-
-
-
-