Example #1
0
 /** Send a plugin result back to JavaScript. */
 public void sendPluginResult(PluginResult result, String callbackId) {
   bridge.getMessageQueue().addPluginResult(result, callbackId);
 }
Example #2
0
 /** Send JavaScript statement back to JavaScript. (This is a convenience method) */
 public void sendJavascript(String statement) {
   bridge.getMessageQueue().addJavaScript(statement);
 }