IBrowserHostAddDevToolsMessageObserver Method |
Version 94.4.20
Add an observer for DevTools protocol messages (method results and events).
The observer will remain registered until the returned Registration object
is destroyed. See the SendDevToolsMessage documentation for additional
usage information.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax IRegistration AddDevToolsMessageObserver(
IDevToolsMessageObserver observer
)
IRegistration^ AddDevToolsMessageObserver(
IDevToolsMessageObserver^ observer
)
Parameters
- observer
- Type: CefSharp.CallbackIDevToolsMessageObserver
DevTools observer
Return Value
Type:
IRegistrationThe observer will remain registered until the returned IRegistration object is Disposed.
See Also