registerJavaScriptMessageHandler abstract method

void registerJavaScriptMessageHandler(
  1. String name,
  2. JavaScriptMessageHandler handler
)

Install a message handler that you can call from your Javascript code.

available: macOS (10.10+)

Implementation

void registerJavaScriptMessageHandler(
    String name, JavaScriptMessageHandler handler);