-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Controls.WebViewPermissionRequest |
winrt class |
Represents a request for permissions in a WebView.
For more info, see the WebView.PermissionRequested event.
When you handle a permission request in a WebView, you get a WebViewPermissionRequest 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.
WebView.PermissionRequested, WebViewPermissionRequestedEventArgs.PermissionRequest