-api-id | -api-type |
---|---|
T:Windows.Web.UI.WebViewControlPermissionRequest |
winrt class |
Represents a request for permissions in a WebView.
For more info, see the IWebViewControl.PermissionRequested event.
When you handle a permission request in an IWebViewControl, you get a WebViewControlPermissionRequest object as the value of the WebViewPermissionRequestedEventArgs.PermissionRequest property. You can call Allow to grant the request, Deny to deny the request, or Defer to defer the request until a later time. For example, you might defer the request if you need to prompt the user for consent.