setMessageListener
Sets a custom message listener. This will be triggered when the server calls `sendScriptMessage` with the message.
Parameters
listener
the listener to accept all server messages via `sendScriptMessage`
Sets a custom message listener. This will be triggered when the server calls `sendScriptMessage` with the message.
the listener to accept all server messages via `sendScriptMessage`