Class MraidWebViewClient

java.lang.Object
android.webkit.WebViewClient
org.prebid.mobile.rendering.views.webview.AdWebViewClient
org.prebid.mobile.rendering.views.webview.mraid.MraidWebViewClient

public class MraidWebViewClient extends AdWebViewClient
Handles injecting the MRAID javascript to the 2nd webview, when encountering mraid.js urls
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.prebid.mobile.rendering.views.webview.AdWebViewClient

    AdWebViewClient.AdAssetsLoadedListener
  • Field Summary

    Fields inherited from class org.prebid.mobile.rendering.views.webview.AdWebViewClient

    adAssetsLoadedListener

    Fields inherited from class android.webkit.WebViewClient

    ERROR_AUTHENTICATION, ERROR_BAD_URL, ERROR_CONNECT, ERROR_FAILED_SSL_HANDSHAKE, ERROR_FILE, ERROR_FILE_NOT_FOUND, ERROR_HOST_LOOKUP, ERROR_IO, ERROR_PROXY_AUTHENTICATION, ERROR_REDIRECT_LOOP, ERROR_TIMEOUT, ERROR_TOO_MANY_REQUESTS, ERROR_UNKNOWN, ERROR_UNSAFE_RESOURCE, ERROR_UNSUPPORTED_AUTH_SCHEME, ERROR_UNSUPPORTED_SCHEME, SAFE_BROWSING_THREAT_BILLING, SAFE_BROWSING_THREAT_MALWARE, SAFE_BROWSING_THREAT_PHISHING, SAFE_BROWSING_THREAT_UNKNOWN, SAFE_BROWSING_THREAT_UNWANTED_SOFTWARE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    android.webkit.WebResourceResponse
    shouldInterceptRequest(android.webkit.WebView view, String url)
     

    Methods inherited from class android.webkit.WebViewClient

    doUpdateVisitedHistory, onFormResubmission, onPageCommitVisible, onReceivedClientCertRequest, onReceivedError, onReceivedHttpAuthRequest, onReceivedHttpError, onReceivedLoginRequest, onReceivedSslError, onRenderProcessGone, onSafeBrowsingHit, onScaleChanged, onTooManyRedirects, onUnhandledKeyEvent, shouldInterceptRequest, shouldOverrideUrlLoading

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • shouldInterceptRequest

      public android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView view, String url)
      Overrides:
      shouldInterceptRequest in class android.webkit.WebViewClient