/** * C++ callback function. * * <p>Notifies the event listener that a connection has been formed to the bridge. */ public void connected() { try { listener.connected(); } catch (Error e) { e.printStackTrace(); } }