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