-
- All Implemented Interfaces:
-
io.cloudx.sdk.CloudXDestroyable
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) public abstract class CloudXAdViewAdapter implements CloudXDestroyable
-
-
Constructor Summary
Constructors Constructor Description CloudXAdViewAdapter()
-
Method Summary
Modifier and Type Method Description abstract Unitload(CloudXAdapterLoadParams params)UnitonAttachedToAdViewContainer()Called after the SDK inserts the loaded banner/MREC view into its io.cloudx.sdk.CloudXAdView container. -
-
Method Detail
-
load
abstract Unit load(CloudXAdapterLoadParams params)
-
onAttachedToAdViewContainer
Unit onAttachedToAdViewContainer()
Called after the SDK inserts the loaded banner/MREC view into its io.cloudx.sdk.CloudXAdView container.
Override this only when the mediated SDK needs a post-container-attach signal to finish registration or impression setup. This callback is not the same as Android
View.onAttachedToWindow: the containing view may still be hidden behind a previous banner during refresh handoff, and adapter implementations should still rely on their network SDK's own visibility/impression callbacks for final impression confirmation.The default implementation is a no-op so existing adapters do not need to implement it.
-
-
-
-