onMessage abstract method
This function is used to register a listener for incoming messages sent from the skill. The messages received are independent of the messages sent from the HTML application via sendMessage. The message payload can be any data type.
Implementation
Skill onMessage(OnMessageCallback callback);