webview_all_ohos library
Classes
- FileSelectorParams
-
Parameters received when the
WebViewshould 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
JavaScriptChannelParamswith the Ohos WebView API. -
A place to register callback methods responsible to handle navigation events
triggered by the
ohos_webview.WebView. - 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.onWebResourceErrorwhen a web resource loading error has occurred. - OhosWebResourceRequest
-
OHOS implementation of
WebResourceRequest. - OhosWebResourceResponse
-
OHOS implementation of
WebResourceResponse. - OhosWebViewController
-
Implementation of the
PlatformWebViewControllerwith 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
WebViewPlatformusing the WebKit API. - OhosWebViewWidget
-
An implementation of
PlatformWebViewWidgetwith 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
loadRequestcallback responsible for loading theurlafter a navigation request has been approved. - OnGeolocationPermissionsHidePrompt = void Function()
-
Signature for the
setGeolocationPermissionsPromptCallbackscallback responsible for request the Geolocation API is cancel. -
OnGeolocationPermissionsShowPrompt
= Future<
GeolocationPermissionsResponse> Function(GeolocationPermissionsRequestParams request) -
Signature for the
setGeolocationPermissionsPromptCallbackscallback responsible for request the Geolocation API. - OnHideCustomWidgetCallback = void Function()
-
Signature for the
setCustomWidgetCallbackscallback responsible for hiding the custom view. - OnShowCustomWidgetCallback = void Function(Widget widget, void onCustomWidgetHidden())
-
Signature for the
setCustomWidgetCallbackscallback responsible for showing the custom view.