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.