Class Waterfall
-
- All Implemented Interfaces:
-
com.unity3d.mediation.internal.ads.controllers.adunits.adinstances.listeners.AdInstanceLoadListener,com.unity3d.mediation.internal.ads.controllers.adunits.waterfall.WaterfallOperations
public final class Waterfall implements AdInstanceLoadListener, WaterfallOperations
-
-
Field Summary
Fields Modifier and Type Field Description private final AdInstanceinstanceToShow
-
Constructor Summary
Constructors Constructor Description Waterfall(AdUnitTools adTools, AdUnitData adUnitData, Boolean enableShowRecovery, WaterfallListener listener, PreloadServiceInterface preloadService, AdInstanceListener adInstanceListener)
-
Method Summary
Modifier and Type Method Description final AdInstancegetInstanceToShow()final UnitloadWaterfall(AdInstanceFactory adInstanceFactory)final BooleanisReadyToShow()final UnitshowAd(AdInstancePresenter adInstancePresenter, Boolean isRecovery)final Unitdestroy()UnitonAdInstanceLoadSuccess(AdInstance instance)UnitonAdInstanceLoadFailed(IronSourceError error, AdInstance instance)final UnitcleanUp()final UnitonAdInstanceOpened(AdInstance instance)final RecoveryStatusgetRecoveryStatus()UnithandlePrepareShow(AdInstance instance)UnitdestroyReadyToShowInstances()BooleanisLoadedAdAvailable()AdInstanceselectInstanceToShowByIndex(Integer index)-
-
Constructor Detail
-
Waterfall
Waterfall(AdUnitTools adTools, AdUnitData adUnitData, Boolean enableShowRecovery, WaterfallListener listener, PreloadServiceInterface preloadService, AdInstanceListener adInstanceListener)
-
-
Method Detail
-
getInstanceToShow
final AdInstance getInstanceToShow()
-
loadWaterfall
final Unit loadWaterfall(AdInstanceFactory adInstanceFactory)
-
isReadyToShow
final Boolean isReadyToShow()
-
showAd
final Unit showAd(AdInstancePresenter adInstancePresenter, Boolean isRecovery)
-
onAdInstanceLoadSuccess
Unit onAdInstanceLoadSuccess(AdInstance instance)
-
onAdInstanceLoadFailed
Unit onAdInstanceLoadFailed(IronSourceError error, AdInstance instance)
-
onAdInstanceOpened
final Unit onAdInstanceOpened(AdInstance instance)
-
getRecoveryStatus
final RecoveryStatus getRecoveryStatus()
-
handlePrepareShow
Unit handlePrepareShow(AdInstance instance)
-
destroyReadyToShowInstances
Unit destroyReadyToShowInstances()
-
isLoadedAdAvailable
Boolean isLoadedAdAvailable()
-
selectInstanceToShowByIndex
AdInstance selectInstanceToShowByIndex(Integer index)
-
-
-
-