Class EmbeddedBrowserViewClient
-
- All Implemented Interfaces:
public final class EmbeddedBrowserViewClient extends BaseWebViewClient
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringRENDER_PROCESS_GONEpublic final static StringRECEIVED_HTTP_ERRORpublic final static StringRECEIVED_ERRORprivate LandingPageTelemetryControlInfolandingPageTelemetryControlInfoprivate final Function0<Unit>onUserLandingCompleted
-
Constructor Summary
Constructors Constructor Description EmbeddedBrowserViewClient(String api, Function0<Unit> onUserLandingCompleted, Function1<JSONObject, Unit> onLpLifecycleEvent, Function2<String, Map<String, String>, Unit> fireLandingPageTracker, InMobiLogger logger, InAppActivityBrowserClientListener inAppActivityBrowserClientListener, Long loadCompletionDeBounceMs)
-
Method Summary
-
Methods inherited from class com.inmobi.ads.containers.viewclient.BaseWebViewClient
enableClearWebPageHistory, setResourcesLoadLimit, shouldInterceptRequest, shouldInterceptRequest -
Methods inherited from class android.webkit.WebViewClient
doUpdateVisitedHistory, onFormResubmission, onLoadResource, onReceivedClientCertRequest, onReceivedHttpAuthRequest, onReceivedLoginRequest, onReceivedSslError, onSafeBrowsingHit, onScaleChanged, onTooManyRedirects, onUnhandledKeyEvent, shouldOverrideKeyEvent -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
EmbeddedBrowserViewClient
EmbeddedBrowserViewClient(String api, Function0<Unit> onUserLandingCompleted, Function1<JSONObject, Unit> onLpLifecycleEvent, Function2<String, Map<String, String>, Unit> fireLandingPageTracker, InMobiLogger logger, InAppActivityBrowserClientListener inAppActivityBrowserClientListener, Long loadCompletionDeBounceMs)
-
-
Method Detail
-
getLandingPageTelemetryControlInfo
final LandingPageTelemetryControlInfo getLandingPageTelemetryControlInfo()
-
setLandingPageTelemetryControlInfo
final Unit setLandingPageTelemetryControlInfo(LandingPageTelemetryControlInfo landingPageTelemetryControlInfo)
-
getOnUserLandingCompleted
final Function0<Unit> getOnUserLandingCompleted()
-
shouldOverrideUrlLoading
Boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request)
-
shouldOverrideUrlLoading
@Deprecated(message = "Deprecated in Java") Boolean shouldOverrideUrlLoading(WebView view, String url)
-
submitLandingPageTelemetry
final Unit submitLandingPageTelemetry(LandingPageFunnelState funnelState, LandingPageTelemetryControlInfo landingPageTelemetryControlInfo, Integer errorCode)
-
onPageStarted
Unit onPageStarted(WebView view, String url, Bitmap favicon)
-
onPageFinished
Unit onPageFinished(WebView view, String url)
-
onPageCommitVisible
Unit onPageCommitVisible(WebView view, String url)
-
onReceivedError
@Deprecated(message = "Deprecated in Java") Unit onReceivedError(WebView view, Integer errorCode, String description, String failingUrl)
-
onReceivedError
Unit onReceivedError(WebView view, WebResourceRequest request, WebResourceError error)
-
onReceivedHttpError
Unit onReceivedHttpError(WebView view, WebResourceRequest request, WebResourceResponse errorResponse)
-
onRenderProcessGone
Boolean onRenderProcessGone(WebView view, RenderProcessGoneDetail detail)
-
onCloseClick
final Unit onCloseClick()
-
onReloadClick
final Unit onReloadClick()
-
onBackPress
final Unit onBackPress()
-
onActivityDestroyed
final Unit onActivityDestroyed()
-
onDetached
final Unit onDetached()
-
onLoaderHidden
final Unit onLoaderHidden()
-
-
-
-