Experimental Globals
Note
This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.
Note
This an experimental API that is shipped with our prerelease SDK. See WebView2 release notes.
Summary
Members | Descriptions |
---|---|
COREWEBVIEW2_MATRIX_4X4 | Matrix that represents a 3D transform. |
COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL | Specifies memory usage target level of WebView. |
COREWEBVIEW2_NAVIGATION_KIND | Specifies the navigation kind of each navigation. |
COREWEBVIEW2_TEXTURE_STREAM_ERROR_KIND | Kinds of errors that can be reported by the ICoreWebView2ExperimentalTextureStream ErrorReceived event. |
COREWEBVIEW2_UPDATE_RUNTIME_STATUS | Status of UpdateRuntime operation result. |
COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS | Specifies the source of WebResourceRequested event. |
Members
COREWEBVIEW2_MATRIX_4X4
Matrix that represents a 3D transform.
typedef COREWEBVIEW2_MATRIX_4X4
This transform is used to calculate correct coordinates when calling CreateCoreWebView2PointerInfoFromPointerId. This is equivalent to a D2D1_MATRIX_4X4_F
COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL
Values | Descriptions |
---|---|
COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL_NORMAL | Specifies normal memory usage target level. |
COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL_LOW | Specifies low memory usage target level. |
Specifies memory usage target level of WebView.
COREWEBVIEW2_NAVIGATION_KIND
Values | Descriptions |
---|---|
COREWEBVIEW2_NAVIGATION_KIND_RELOAD | A navigation caused by CoreWebView2.Reload() , location.reload() , the end user using F5 or other UX, or other reload mechanisms to reload the current document without modifying the navigation history. |
COREWEBVIEW2_NAVIGATION_KIND_BACK_OR_FORWARD | A navigation back or forward to a different entry in the session navigation history, like via CoreWebView2.Back() , location.back() , the end user pressing Alt+Left or other UX, or other mechanisms to navigate back or forward in the current session navigation history. |
COREWEBVIEW2_NAVIGATION_KIND_NEW_DOCUMENT | A navigation to another document, which can be caused by CoreWebView2.Navigate() , window.location.href = ... , or other WebView2 or DOM APIs that navigate to a new URI. |
Specifies the navigation kind of each navigation.
COREWEBVIEW2_TEXTURE_STREAM_ERROR_KIND
Values | Descriptions |
---|---|
COREWEBVIEW2_TEXTURE_STREAM_ERROR_NO_VIDEO_TRACK_STARTED | CreateTexture/PresentTexture and so on should return failed HRESULT if the texture stream is in the stopped state rather than using the error event. |
COREWEBVIEW2_TEXTURE_STREAM_ERROR_TEXTURE_ERROR | The texture already has been removed using CloseTexture. |
COREWEBVIEW2_TEXTURE_STREAM_ERROR_TEXTURE_IN_USE | The texture to be presented is already in use for rendering. |
Kinds of errors that can be reported by the ICoreWebView2ExperimentalTextureStream ErrorReceived event.
COREWEBVIEW2_UPDATE_RUNTIME_STATUS
Values | Descriptions |
---|---|
COREWEBVIEW2_UPDATE_RUNTIME_STATUS_LATEST_VERSION_INSTALLED | Latest version of Edge WebView2 Runtime is installed. |
COREWEBVIEW2_UPDATE_RUNTIME_STATUS_UPDATE_ALREADY_RUNNING | Edge WebView2 Runtime update is already running, which could be triggered by auto update or by other UpdateRuntime request from some app. |
COREWEBVIEW2_UPDATE_RUNTIME_STATUS_BLOCKED_BY_POLICY | Edge WebView2 Runtime update is blocked by group policy. |
COREWEBVIEW2_UPDATE_RUNTIME_STATUS_FAILED | Edge WebView2 Runtime update failed. |
Status of UpdateRuntime operation result.
COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS
Values | Descriptions |
---|---|
COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_NONE | |
COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_DOCUMENT | Indicates that web resource is requested from main page including dedicated workers and iframes. |
COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_SHARED_WORKER | Indicates that web resource is requested from shared worker. |
COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_SERVICE_WORKER | Indicates that web resource is requested from service worker. |
COREWEBVIEW2_WEB_RESOURCE_REQUEST_SOURCE_KINDS_ALL | Indicates that web resource is requested from any supported source. |
Specifies the source of WebResourceRequested
event.