public final class WebViewDispatcher extends java.lang.Object implements DispatchReadyListener, DispatchSendListener, PublishSettingsUpdateListener, EvalJavaScriptListener, WebViewLoadedListener, WebViewCreatedListener
Constructor and Description |
---|
WebViewDispatcher(Tealium.Config config,
com.tealium.internal.MessageRouter messageRouter) |
Modifier and Type | Method and Description |
---|---|
TagBridge |
getTagBridge() |
void |
onDispatchReady(Dispatch dispatch) |
void |
onDispatchSend(Dispatch dispatch) |
void |
onEvalJavaScript(java.lang.String js) |
void |
onPublishSettingsUpdate(PublishSettings publishSettings) |
void |
onWebViewCreated(android.webkit.WebView webView) |
void |
onWebViewLoad(android.webkit.WebView webView,
boolean success) |
void |
setTraceId(java.lang.String newTraceId,
boolean shouldUpdateWebView) |
public WebViewDispatcher(Tealium.Config config, com.tealium.internal.MessageRouter messageRouter)
public TagBridge getTagBridge()
public void setTraceId(java.lang.String newTraceId, boolean shouldUpdateWebView)
public void onDispatchSend(Dispatch dispatch)
onDispatchSend
in interface DispatchSendListener
public void onDispatchReady(Dispatch dispatch)
onDispatchReady
in interface DispatchReadyListener
public void onPublishSettingsUpdate(PublishSettings publishSettings)
onPublishSettingsUpdate
in interface PublishSettingsUpdateListener
public void onEvalJavaScript(java.lang.String js)
onEvalJavaScript
in interface EvalJavaScriptListener
public void onWebViewLoad(android.webkit.WebView webView, boolean success)
onWebViewLoad
in interface WebViewLoadedListener
public void onWebViewCreated(android.webkit.WebView webView)
onWebViewCreated
in interface WebViewCreatedListener