Package com.naver.ads.webview
Class ObservableJavascriptBridge
-
- All Implemented Interfaces:
public abstract class ObservableJavascriptBridge extends JavascriptBridge
Provides a gateway for AdWebView and Javascript code to communicate to each other.
-
-
Constructor Summary
Constructors Constructor Description ObservableJavascriptBridge()
-
Method Summary
Modifier and Type Method Description Unitattach(AdWebView adWebView)Attaches given the AdWebView to this JavascriptBridge. Unitdetach()Detaches the attached AdWebView. final Unitobserve()final Unitunobserve()UnitviewableChanged(Boolean viewable)UnitexposureChanged(Double exposedPercentage, Rect visibleRect)-
-
Method Detail
-
attach
@CallSuper() Unit attach(AdWebView adWebView)
Attaches given the AdWebView to this JavascriptBridge.
-
viewableChanged
Unit viewableChanged(Boolean viewable)
-
exposureChanged
Unit exposureChanged(Double exposedPercentage, Rect visibleRect)
-
-
-
-