onMessage

abstract fun onMessage(message: String)

Called when the subscribed JavaScript callback fires on the plan.

Parameters

message

JSON-encoded message from the callback.