Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This an experimental API that is shipped with our prerelease SDK. See WebView2 release notes.
Summary
| Members | Descriptions |
|---|---|
| COREWEBVIEW2_RESTART_REQUESTED_PRIORITY | Specifies the restart requested priority level. |
| COREWEBVIEW2_SENSITIVITY_LABEL_KIND | Specifies the kind of sensitivity label applied to web content. |
| COREWEBVIEW2_SENSITIVITY_LABELS_STATE | Represents the state of sensitivity label detection and processing for web content loaded in the WebView2 control. |
| COREWEBVIEW2_TEXTURE_STREAM_ERROR_KIND | Kinds of errors that can be reported by the ErrorReceived event. |
| COREWEBVIEW2_UPDATE_RUNTIME_STATUS | Status of UpdateRuntime operation result. |
Members
COREWEBVIEW2_RESTART_REQUESTED_PRIORITY
| Values | Descriptions |
|---|---|
| COREWEBVIEW2_RESTART_REQUESTED_PRIORITY_NORMAL | Developer should remind user to restart. |
| COREWEBVIEW2_RESTART_REQUESTED_PRIORITY_HIGH | Developer should prompt user to restart as soon as possible. |
Specifies the restart requested priority level.
COREWEBVIEW2_SENSITIVITY_LABEL_KIND
| Values | Descriptions |
|---|---|
| COREWEBVIEW2_SENSITIVITY_LABEL_KIND_MIP | Represents a Microsoft Information Protection (MIP) sensitivity label. |
Specifies the kind of sensitivity label applied to web content.
Sensitivity labels are used to classify and protect content based on its sensitivity level.
This enumeration is designed to be extensible. New values may be added in future versions. Applications should not implement a default case that assumes knowledge of all possible label kinds to ensure forward compatibility.
COREWEBVIEW2_SENSITIVITY_LABELS_STATE
| Values | Descriptions |
|---|---|
| COREWEBVIEW2_SENSITIVITY_LABELS_STATE_NOT_APPLICABLE | Indicates that none of the loaded pages are in the allow list. |
| COREWEBVIEW2_SENSITIVITY_LABELS_STATE_PENDING | Indicates that WebView2 has loaded pages from the allow list that can report sensitivity labels, but the label are not available yet complete. |
| COREWEBVIEW2_SENSITIVITY_LABELS_STATE_AVAILABLE | Indicates that WebView2 has loaded pages from the allow list, and the labels about the content are available now. |
Represents the state of sensitivity label detection and processing for web content loaded in the WebView2 control.
COREWEBVIEW2_TEXTURE_STREAM_ERROR_KIND
| Values | Descriptions |
|---|---|
| COREWEBVIEW2_TEXTURE_STREAM_ERROR_KIND_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_KIND_TEXTURE_ERROR | The texture already has been removed using CloseTexture. |
| COREWEBVIEW2_TEXTURE_STREAM_ERROR_KIND_TEXTURE_IN_USE | The texture to be presented is already in use for rendering. |
Kinds of errors that can be reported by the 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.