Package com.inmobi.ads.controllers
Class AudioAdUnit
-
- 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 final class AudioAdUnit extends BannerAdUnit
-
-
Field Summary
Fields Modifier and Type Field Description private final StringadTypeprivate final BooleanisActiveprivate final RenderViewhtmlAdContainerprivate 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 AudioAdUnit(Context context, AdPlacement placement, AdUnit.AdUnitEventListener adUnitEventListener)
-
Method Summary
Modifier and Type Method Description StringgetAdType()UnitonAudioStatusChanged(AudioStatusInternal audioStatusInternal)UnitonAudioMuteInteraction(Boolean isMuted)BooleancanProceedToLoad()final BooleancanProceedToShow()final UnitonShowFailure(Short errorCode)final UnitsignalCanShowForStateReady()UnitonRenderViewVisible(RenderView renderView)-
Methods inherited from class com.inmobi.ads.controllers.BannerAdUnit
clear, closeAll, getHtmlAdContainer, isActive, load, load, loadPodAd, missingPrerequisitesForAd, onActivityCreated, onActivityDestroyed, onActivityPaused, onActivityResumed, onActivitySaveInstanceState, onActivityStarted, onActivityStopped, onAdScreenDismissed, onAdScreenDisplayed, onAdUnloadedAfterShowSuccess, onDidParseAfterFetch, onPause, onRenderProcessGone, onResume, registerLifeCycleCallbacks, renderAd, setAdSize, showPodAdAtIndex, unregisterLifeCycleCallbacks -
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
-
AudioAdUnit
AudioAdUnit(Context context, AdPlacement placement, AdUnit.AdUnitEventListener adUnitEventListener)
-
-
Method Detail
-
onAudioStatusChanged
Unit onAudioStatusChanged(AudioStatusInternal audioStatusInternal)
-
onAudioMuteInteraction
Unit onAudioMuteInteraction(Boolean isMuted)
-
canProceedToLoad
Boolean canProceedToLoad()
-
canProceedToShow
final Boolean canProceedToShow()
-
onShowFailure
final Unit onShowFailure(Short errorCode)
-
signalCanShowForStateReady
@UiThread() final Unit signalCanShowForStateReady()
-
onRenderViewVisible
Unit onRenderViewVisible(RenderView renderView)
-
-
-
-