For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/lynx-native-api/lynx-view-client/on-piper-invoked.md.
Lynx
  • English
  • onPiperInvoked

    Called when JSBridge invoked.

    Syntax

    Android

    public void onPiperInvoked(Map<String, Object> info);

    Parameters

    • info: JSBridge's information. url: String: Lynx's url; module-name: String: module's name; method-name: String: method's name; params: List<Object>: (Optional) other necessary parameters.

    iOS

    - (void)onPiperInvoked:(NSDictionary *)info;

    Parameters

    • info: Piper's information. url: NSString: Lynx's url; module-name: NSString: module's name; method-name: NSString: method's name; params: NSArray: (Optional) other necessary parameters.

    Compatibility

    LCD tables only load in the browser

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.