setLynxInspectorConsoleDelegate
注册 LynxView 实例的 console 监听器,用于监听该实例的所有 console 消息。
语法
iOS
LynxBaseInspectorOwner.h
Android
LynxBaseInspectorOwner.java
Harmony
LynxBaseInspectorOwner.ets
参数说明
delegate: 实现了LynxInspectorConsoleDelegate的对象。
注册 LynxView 实例的 console 监听器,用于监听该实例的所有 console 消息。
delegate: 实现了 LynxInspectorConsoleDelegate 的对象。