Implement this interface to handle events related to permission requests. It's important to note that the methods of this interface are called on a CEF UI thread, which by default is not the same as your application UI thread.
Namespace: CefSharpCefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntaxpublic interface IPermissionHandler
public interface class IPermissionHandler
The IPermissionHandler type exposes the following members.
Methods Name Description OnDismissPermissionPromptCalled when a permission prompt handled via
OnShowPermissionPrompt(IWebBrowser, IBrowser, UInt64, String, PermissionRequestType, IPermissionPromptCallback)is dismissed.
resultwill be the value passed to
Continue(PermissionRequestResult)or
Ignoreif the dialog was dismissed for other reasons such as navigation, browser closure, etc. This method will not be called if
OnShowPermissionPrompt(IWebBrowser, IBrowser, UInt64, String, PermissionRequestType, IPermissionPromptCallback)returned false for
promptId.
OnRequestMediaAccessPermissionCalled when a page requests permission to access media. With the Chrome runtime, default handling will display the permission request UI.With the Alloy runtime, default handling will deny the request.This method will not be called if the "--enable-media-stream" command-line switch is used to grant all permissions.
OnShowPermissionPromptCalled when a page should show a permission prompt.
Top See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4