addConnctionListener static method
- String listenerId,
- ConnectionListener listenerClass
The ConnectionListener class provides you with all the status of the connection to CometChat web-socket servers
Implementation
static addConnctionListener(
String listenerId, ConnectionListener listenerClass) {
_connectionListeners[listenerId] = listenerClass;
}