dwrtc / ch.hsr.dsl.dwrtc.signaling / IInternalClient / onReceiveMessage

onReceiveMessage

abstract fun onReceiveMessage(emitter: (IExternalClient, ClientMessage) -> Unit): Unit

Register a listener that handles messages for this user

Parameters

emitter - a callable that receives the sender and the actual message