Package com.inmobi.ads.controllers
Class BannerAdUnit
-
- All Implemented Interfaces:
-
android.app.Application.ActivityLifecycleCallbacks,com.inmobi.ads.containers.AdPodHandler,com.inmobi.ads.containers.listeners.UserLeftApplicationListener,com.inmobi.ads.controllers.BlobProvider,com.inmobi.ads.core.WinLossNotifier,com.inmobi.ads.utils.TimeOutInformer
public class BannerAdUnit extends AdUnit implements Application.ActivityLifecycleCallbacks
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisActiveprivate final RenderViewhtmlAdContainerprivate final StringadTypeprivate volatile Bytestateprivate AdConfigadConfigprivate HandlermUiHandlerprivate final BooleanisDestroyedprivate final AdPlacementplacementprivate AdResponseadResponseprivate final AdSetmAdSetprivate IntegermCurrentLoadingIndexprivate IntegermCurrentRenderingIndexprivate LongmTimeSinceShowPodTimeStampprivate TreeSet<Integer>mRenderableAdIndexesprivate final BooleanisPodAdSetprivate final AdUnitTelemetryHelperadUnitTelemetryprivate final Contextcontextprivate final StringmarkupTypeprivate final StringadSetIdprivate AdUnit.AdUnitEventListeneradUnitEventListenerprivate final AdContaineradMarkupContainerprivate final AdadObjectprivate final Map<String, String>publisherSuppliedExtrasprivate final BooleanisBlockingStateForLoadWithResponseprivate final BooleanisApplicationMutedByPub
-
Constructor Summary
Constructors Constructor Description BannerAdUnit(Context context, AdPlacement placement, AdUnit.AdUnitEventListener adUnitEventListener)
-
Method Summary
-
Methods inherited from class com.inmobi.ads.controllers.AdUnit
cancelTimer, closeCurrentPodAd, computeReasonAndErrorCode, destroyAllContainer, destroyContainer, fireAdPodShowResult, fireAdServedBeacon, fireClickTracker, fireImmersiveNotSupported, fireImpressionTracker, fireLandingPageTracker, getAdConfig, getAdMarkupContainer, getAdObject, getAdResponse, getAdSetId, getAdUnitEventListener, getAdUnitTelemetry, getBlob, getContext, getCurrentRenderingPodAdIndex, getMAdSet, getMCurrentLoadingIndex, getMCurrentRenderingIndex, getMRenderableAdIndexes, getMTimeSinceShowPodTimeStamp, getMUiHandler, getMarkupType, getPlacement, getPodAdContext, getPublisherSuppliedExtras, getRenderableAdIndexes, getShowTimeStamp, getState, handleAdFetchFailure, handleAdFetchFailureException, handleAdLoadFailure, handleAdScreenDismissed, handleAdScreenDisplayed, handleAdShowFailure, hasAdExpired, hasNextAdInAdPod, initAdUnit, initializeHtmlAdContainer, isApplicationMutedByPub, isBlockingStateForLoadWithResponse, isDestroyed, isImmersive, isPodAdSet, load, makeUnitActive, notifyLoss, notifyWin, onAdAttachedToWindow, onAdDisplayed, onAdFetchFailed, onAdInteraction, onAdRewardActionCompleted, onAdScreenDisplayFailed, onAdUnloadedAfterLoadSuccess, onFetchSuccess, onImpressionFiredFromTemplate, onImraidLog, onLoadAdMarkupFailed, onLoadSuccess, onRenderViewLoadedAd, onRenderViewRequestedAction, onRenderViewSignaledAdFailed, onRenderViewSignaledAdReady, onTimeOut, onUnloadCalled, onUserLeaveApplication, prepareAdRequest, releaseTrackingOnAbandon, resetContainersForNextAd, resetCurrentRenderingIndex, saveBlob, setAdConfig, setAdResponse, setAdUnitEventListener, setContainer, setContext, setFailedState, setInMobiLogger, setIsPod, setMCurrentLoadingIndex, setMCurrentRenderingIndex, setMRenderableAdIndexes, setMTimeSinceShowPodTimeStamp, setMUiHandler, setMonetizationContext, setPodAdContext, setPublisherSuppliedExtras, setState, setWatermark, shouldBlockRenderingAd, signalAvailabilityChange, signalSuccess, startLoadingHTMLAd, startTimer, submitAdLoadCalled, submitAdLoadDroppedAtSDK, submitAdLoadFailedEvent, submitAdLoadSuccessfulEvent, submitAdParseSuccess, submitAdShowCalled, submitAdShowFailed, submitAdShowSuccess, submitBannerDetachEvent, submitRenderSuccessEvent, submitTelemetryEvent, timeSincePodShow, wouldLeakOnAbandon -
Methods inherited from class com.inmobi.ads.containers.RenderViewEventListener
onRenderViewExpandFullscreen -
Methods inherited from class android.app.Application.ActivityLifecycleCallbacks
onActivityPostCreated, onActivityPostDestroyed, onActivityPostPaused, onActivityPostResumed, onActivityPostSaveInstanceState, onActivityPostStarted, onActivityPostStopped, onActivityPreCreated, onActivityPreDestroyed, onActivityPrePaused, onActivityPreResumed, onActivityPreSaveInstanceState, onActivityPreStarted, onActivityPreStopped -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BannerAdUnit
BannerAdUnit(Context context, AdPlacement placement, AdUnit.AdUnitEventListener adUnitEventListener)
-
-
Method Detail
-
getHtmlAdContainer
RenderView getHtmlAdContainer()
-
missingPrerequisitesForAd
Boolean missingPrerequisitesForAd()
-
load
Unit load()
Request for an ad to be loaded. Note** This method must be called on the UI thread.
-
canProceedToLoad
Boolean canProceedToLoad()
-
onDidParseAfterFetch
@UiThread() Unit onDidParseAfterFetch()
-
onAdUnloadedAfterShowSuccess
Unit onAdUnloadedAfterShowSuccess(RenderView renderView)
-
onRenderViewVisible
Unit onRenderViewVisible(RenderView renderView)
-
onAdScreenDisplayed
@Synchronized() Unit onAdScreenDisplayed(RenderView renderView)
-
onAdScreenDismissed
@Synchronized() Unit onAdScreenDismissed(RenderView renderView)
-
unregisterLifeCycleCallbacks
final Unit unregisterLifeCycleCallbacks()
-
onActivityCreated
Unit onActivityCreated(Activity activity, Bundle savedInstanceState)
-
onActivityStarted
Unit onActivityStarted(Activity activity)
-
onActivityResumed
Unit onActivityResumed(Activity activity)
-
onActivityPaused
Unit onActivityPaused(Activity activity)
-
onActivityStopped
Unit onActivityStopped(Activity activity)
-
onActivitySaveInstanceState
Unit onActivitySaveInstanceState(Activity activity, Bundle outState)
-
onActivityDestroyed
Unit onActivityDestroyed(Activity activity)
-
registerLifeCycleCallbacks
final Unit registerLifeCycleCallbacks()
-
loadPodAd
@WorkerThread() Unit loadPodAd(Integer index, RenderView renderView)
-
showPodAdAtIndex
@WorkerThread() Unit showPodAdAtIndex(Integer index, RenderView renderView, Context context)
context: context of the current Activity to open next Ad in the same activity
-
onAudioStatusChanged
Unit onAudioStatusChanged(AudioStatusInternal audioStatusInternal)
-
onAudioMuteInteraction
Unit onAudioMuteInteraction(Boolean isMuted)
-
onRenderProcessGone
Unit onRenderProcessGone(RenderView renderView, Boolean didCrash)
-
-
-
-