addConnectionHandler method

void addConnectionHandler(
  1. String identifier,
  2. ConnectionHandler handler
)

Adds a connection event handler with the specified identifier and handler.

identifier: The identifier for the handler.

handler : The connection event handler to add.

Implementation

void addConnectionHandler(String identifier, ConnectionHandler handler) {
  SendbirdChat.addConnectionHandler(identifier, handler);
}