webview_all_ohos library

Classes

FileSelectorParams
Parameters received when the WebView should show a file selector.
GeolocationPermissionsRequestParams
A request params used by the host application to set the Geolocation permission state for an origin.
GeolocationPermissionsResponse
A response used by the host application to set the Geolocation permission state for an origin.
OhosCustomViewWidget
Represents a Flutter wrapper around a native OHOS view that is created by the host platform when web content needs to be displayed in fullscreen mode.
OhosJavaScriptChannelParams
An implementation of JavaScriptChannelParams with the Ohos WebView API.
OhosNavigationDelegate
A place to register callback methods responsible to handle navigation events triggered by the ohos_webview.WebView.
OhosNavigationDelegateCreationParams
Object specifying creation parameters for creating a OhosNavigationDelegate.
OhosPlatformSslAuthError
OHOS implementation of PlatformSslAuthError.
OhosUrlChange
Ohos details of the change to a web view's url.
OhosWebResourceError
Error returned in WebView.onWebResourceError when a web resource loading error has occurred.
OhosWebResourceRequest
OHOS implementation of WebResourceRequest.
OhosWebResourceResponse
OHOS implementation of WebResourceResponse.
OhosWebViewController
Implementation of the PlatformWebViewController with the Ohos WebView API.
OhosWebViewControllerCreationParams
Object specifying creation parameters for creating a OhosWebViewController.
OhosWebViewCookieManager
Handles all cookie operations for the Ohos platform.
OhosWebViewCookieManagerCreationParams
Object specifying creation parameters for creating a OhosWebViewCookieManager.
OhosWebViewDataManager
Clears website data exposed by the OpenHarmony ArkWeb global stores.
OhosWebViewDataManagerCreationParams
OhosWebViewPermissionRequest
Ohos implementation of PlatformWebViewPermissionRequest.
OhosWebViewPermissionResourceType
Ohos-specific resources that can require permissions.
OhosWebViewPlatform
Implementation of WebViewPlatform using the WebKit API.
OhosWebViewWidget
An implementation of PlatformWebViewWidget with the Ohos WebView API.
OhosWebViewWidgetCreationParams
Object specifying creation parameters for creating a OhosWebViewWidget.

Enums

FileSelectorMode
Mode of how to select files for a file chooser.
OhosMixedContentMode
Controls whether HTTPS pages may load insecure HTTP resources on OHOS.

Typedefs

LoadRequestCallback = Future<void> Function(LoadRequestParams params)
Signature for the loadRequest callback responsible for loading the url after a navigation request has been approved.
OnGeolocationPermissionsHidePrompt = void Function()
Signature for the setGeolocationPermissionsPromptCallbacks callback responsible for request the Geolocation API is cancel.
OnGeolocationPermissionsShowPrompt = Future<GeolocationPermissionsResponse> Function(GeolocationPermissionsRequestParams request)
Signature for the setGeolocationPermissionsPromptCallbacks callback responsible for request the Geolocation API.
OnHideCustomWidgetCallback = void Function()
Signature for the setCustomWidgetCallbacks callback responsible for hiding the custom view.
OnShowCustomWidgetCallback = void Function(Widget widget, void onCustomWidgetHidden())
Signature for the setCustomWidgetCallbacks callback responsible for showing the custom view.