addConnectionHandler static method
- String identifier,
- ConnectionHandler handler
Adds a connection handler. All added handlers will be notified when events occurs.
Implementation
static void addConnectionHandler(
String identifier, ConnectionHandler handler) {
sbLog.i(StackTrace.current, 'identifier: $identifier');
_instance._chat.addConnectionHandler(identifier, handler);
}