Partager via


interface ICoreWebView2PermissionSetting

interface ICoreWebView2PermissionSetting
  : public IUnknown

Provides a set of properties for a permission setting.

Summary

Members Descriptions
get_PermissionKind The kind of the permission setting.
get_PermissionOrigin The origin of the permission setting.
get_PermissionState The state of the permission setting.

Applies to

Product Introduced
WebView2 Win32 1.0.1661.34
WebView2 Win32 Prerelease 1.0.1671

Members

get_PermissionKind

The kind of the permission setting.

public HRESULT get_PermissionKind(COREWEBVIEW2_PERMISSION_KIND * value)

See COREWEBVIEW2_PERMISSION_KIND for more details.

get_PermissionOrigin

The origin of the permission setting.

public HRESULT get_PermissionOrigin(LPWSTR * value)

The caller must free the returned string with CoTaskMemFree. See API Conventions.

get_PermissionState

The state of the permission setting.

public HRESULT get_PermissionState(COREWEBVIEW2_PERMISSION_STATE * value)