I am working on an Ionic application that includes a custom class extending org.apache.cordova.CordovaPlugin to assist with background tasks. I am looking for a way to send asynchronous events from the Java side to the Ionic side of the app. Is there a method to register a listener, callback function, or any other mechanism to trigger Ionic/Angular/JavaScript code from the Java side?