DatachannelEventCallback()

DESCRIPTION

Datachannel Event callback definition

DECLARATION

typedef std::function<void(NabtoDeviceConnectionRef connRef, DatachannelPtr channel)> DatachannelEventCallback

PARAMETERS

connRef:
[in] The Nabto Connection the datachannel event originates from
channel:
[in] The datachannel created by this event