Class MraidWebViewClient


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

      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      android.webkit.WebResourceResponse shouldInterceptRequest​(android.webkit.WebView view, java.lang.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
    • Method Detail

      • shouldInterceptRequest

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