Package 

Class AccompanistWebChromeClient


  • 
    public class AccompanistWebChromeClient
    extends WebChromeClient
                        

    AccompanistWebChromeClient

    A parent class implementation of WebChromeClient that can be subclassed to add custom behaviour.

    As Accompanist Web needs to set its own web client to function, it provides this intermediary class that can be overriden if further custom behaviour is required.

    • Method Summary

      Modifier and Type Method Description
      WebViewState getState()
      Unit setState(WebViewState state)
      Unit onReceivedTitle(WebView view, String title)
      Unit onReceivedIcon(WebView view, Bitmap icon)
      Unit onProgressChanged(WebView view, Integer newProgress)
      • Methods inherited from class com.kevinnzou.web.AccompanistWebChromeClient

        getDefaultVideoPoster, getVideoLoadingProgressView, getVisitedHistory, onCloseWindow, onConsoleMessage, onConsoleMessage, onCreateWindow, onExceededDatabaseQuota, onGeolocationPermissionsHidePrompt, onGeolocationPermissionsShowPrompt, onHideCustomView, onJsAlert, onJsBeforeUnload, onJsConfirm, onJsPrompt, onJsTimeout, onPermissionRequest, onPermissionRequestCanceled, onReceivedTouchIconUrl, onRequestFocus, onShowCustomView, onShowCustomView, onShowFileChooser
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait