setOnMessage
Sets a callback function to be called when a message is received.
Description
vcc.setOnMessage(callback)
Sets a callback function to be called when a message is received.
Parameters
callback
(function) The callback function to be executed when a message is received. The function will receive a context object (ctx
) as its parameter.
Return values
none
Example
vcc.setOnMessage(callback);
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.