[This is preliminary documentation and is subject to change.]
Register a scheme handler factory for the specified |scheme_name| and
optional |domain_name|. An empty |domain_name| value for a standard scheme
will cause the factory to match all domain names. The |domain_name| value
will be ignored for non-standard schemes. If |scheme_name| is a built-in
scheme and no handler is returned by |factory| then the built-in scheme
handler factory will be called. If |scheme_name| is a custom scheme then
also implement the CefApp::OnRegisterCustomSchemes() method in all processes.
This function may be called multiple times to change or remove the factory
that matches the specified |scheme_name| and optional |domain_name|.
Returns false if an error occurs. This function may be called on any thread
in the browser process.
Namespace: Xilium.CefGlueAssembly: Xilium.CefGlue (in Xilium.CefGlue.dll) Version: 3.2272.2035.0 (3.2272.2035.0)
public static bool RegisterSchemeHandlerFactory(
string schemeName,
string domainName,
CefSchemeHandlerFactory factory
)
public static bool RegisterSchemeHandlerFactory(
string schemeName,
string domainName,
CefSchemeHandlerFactory factory
)
Parameters
- schemeName
- Type: System String
[Missing <param name="schemeName"/> documentation for "M:Xilium.CefGlue.CefRuntime.RegisterSchemeHandlerFactory(System.String,System.String,Xilium.CefGlue.CefSchemeHandlerFactory)"]
- domainName
- Type: System String
[Missing <param name="domainName"/> documentation for "M:Xilium.CefGlue.CefRuntime.RegisterSchemeHandlerFactory(System.String,System.String,Xilium.CefGlue.CefSchemeHandlerFactory)"]
- factory
- Type: Xilium.CefGlue CefSchemeHandlerFactory
[Missing <param name="factory"/> documentation for "M:Xilium.CefGlue.CefRuntime.RegisterSchemeHandlerFactory(System.String,System.String,Xilium.CefGlue.CefSchemeHandlerFactory)"]
Return Value
Type:
Boolean[Missing <returns> documentation for "M:Xilium.CefGlue.CefRuntime.RegisterSchemeHandlerFactory(System.String,System.String,Xilium.CefGlue.CefSchemeHandlerFactory)"]