Package com.inmobi.ads.containers
Class SiblingWebViewManager
-
- All Implemented Interfaces:
-
com.inmobi.ads.containers.WebViewOrchestratorInterface
public final class SiblingWebViewManager implements WebViewOrchestratorInterface
Orchestrates WebView operations for sibling views of the ad. i.e, only RenderViewSibling and not RenderView.
This class manages the lifecycle of WebViews used for displaying sibling views, including loading, showing, messaging, and destroying. It handles the coordination between source and target WebViews while managing state transitions and error handling.
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringLOAD_APIpublic final static StringSHOW_APIpublic final static StringSEND_MESSAGE_APIpublic final static StringDESTROY_API
-
Constructor Summary
Constructors Constructor Description SiblingWebViewManager(WebViewFactory wvFactory, InMobiLogger logger)
-
Method Summary
Modifier and Type Method Description UnitloadWebView(String sourceId, String targetId, String html)UnitshowWebView(String sourceId, String targetId)UnitsendMessage(String sourceId, String targetId, String message)UnitdestroyWebView(String sourceId, String targetId)-
-
Constructor Detail
-
SiblingWebViewManager
SiblingWebViewManager(WebViewFactory wvFactory, InMobiLogger logger)
-
-
Method Detail
-
loadWebView
Unit loadWebView(String sourceId, String targetId, String html)
-
showWebView
Unit showWebView(String sourceId, String targetId)
-
sendMessage
Unit sendMessage(String sourceId, String targetId, String message)
-
destroyWebView
Unit destroyWebView(String sourceId, String targetId)
-
-
-
-