registerJavaScriptMessageHandler abstract method
Install a message handler that you can call from your Javascript code.
available: macOS (10.10+)
Implementation
void registerJavaScriptMessageHandler(
String name, JavaScriptMessageHandler handler);