Datachannel.setMessageCallback()

DESCRIPTION

Set callback to be invoked when a message is received on the datachannel.

DECLARATION

    void setMessageCallback(DatachannelMessageCallback cb)

PARAMETERS

cb:
[in] Callback to set