Class NativeFetchedState
-
- All Implemented Interfaces:
-
com.inmobi.media.ads.common.base.state.State,com.inmobi.media.ads.common.listeners.AUMDestroyListener,com.inmobi.media.ads.common.listeners.InternalLoadTimeoutListener
public final class NativeFetchedState extends FetchedState
State representing a native ad that has been successfully fetched from the server. This state handles the transition from fetched to loading and manages win beacon firing.
-
-
Field Summary
Fields Modifier and Type Field Description private final ContextapplicationContextprivate final CoroutineScopeadManagerScopeprivate final AdContextadContextprivate final AdConfigadConfigprivate final PubSettingspubSettingsprivate final AdContext.ViewabilityContextviewabilityprivate final AdMetaInfoadMetaInfoprivate final MetaInfometaInfoprivate final InMobiLoggerloggerprivate final AdLifecycleDataadLifecycleDataprivate final AdManagerTelemetryHelperadManagerTelemetryHelper
-
Constructor Summary
Constructors Constructor Description NativeFetchedState(AdComponent adComponent, InMobiJsonResponse inMobiJsonResponse, AdUnitTimeoutManager adUnitTimeout, NativeAdUnitManagerCallback nativeCallback, NativeAUMStateMachine stateMachine)
-
Method Summary
Modifier and Type Method Description Unitinitialize()Initializes the fetched state and fires win beacons. -
Methods inherited from class com.inmobi.media.ads.context.wrapper.AdComponentWrapper
getAdConfig, getAdContext, getAdLifecycleData, getAdManagerScope, getAdManagerTelemetryHelper, getAdMetaInfo, getApplicationContext, getLogger, getMetaInfo, getPubSettings, getViewability -
Methods inherited from class com.inmobi.media.ads.common.adUnitManager.state.states.FetchedState
inflate, onDestroy, onInternalLoadTimeout -
Methods inherited from class com.inmobi.media.ads.common.base.state.State
cleanUp -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
NativeFetchedState
NativeFetchedState(AdComponent adComponent, InMobiJsonResponse inMobiJsonResponse, AdUnitTimeoutManager adUnitTimeout, NativeAdUnitManagerCallback nativeCallback, NativeAUMStateMachine stateMachine)
-
-
Method Detail
-
initialize
Unit initialize()
Initializes the fetched state and fires win beacons.
-
-
-
-