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