addUserEventHandler static method

void addUserEventHandler(
  1. String identifier,
  2. UserEventHandler handler
)

Adds a user event handler. All added handlers will be notified when events occur.

Implementation

static void addUserEventHandler(String identifier, UserEventHandler handler) {
  sbLog.i(StackTrace.current, 'identifier: $identifier');
  _instance._chat.addUserEventHandler(identifier, handler);
}