-
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.
-
-
Field Summary
Fields Modifier and Type Field Description private WebViewStatestate
-
Constructor Summary
Constructors Constructor Description AccompanistWebChromeClient()
-
Method Summary
Modifier and Type Method Description WebViewStategetState()UnitsetState(WebViewState state)UnitonReceivedTitle(WebView view, String title)UnitonReceivedIcon(WebView view, Bitmap icon)UnitonProgressChanged(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
-
-
Method Detail
-
getState
WebViewState getState()
-
setState
Unit setState(WebViewState state)
-
onReceivedTitle
Unit onReceivedTitle(WebView view, String title)
-
onReceivedIcon
Unit onReceivedIcon(WebView view, Bitmap icon)
-
onProgressChanged
Unit onProgressChanged(WebView view, Integer newProgress)
-
-
-
-