For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/api/lynx-devtool-native-api/lynx-base-inspector-owner/remove-cdp-event-listener.md.
Lynx
  • 简体中文
  • removeCDPEventListener

    移除一个 CDP Event 消息的监听器。

    此方法是 addCDPEventListener 的配对操作。当你不再需要监听消息时,应调用此方法来移除监听器。

    语法

    iOS

    LynxBaseInspectorOwner.h
    - (void)removeCDPEventListener:(nonnull NSString *)name;

    Android

    LynxBaseInspectorOwner.java
    void removeCDPEventListener(final String name);

    参数说明

    使用示例

    请参考 CDPEventListener

    兼容性

    LCD tables only load in the browser

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。