addGroupListener static method

dynamic addGroupListener(
  1. String listenerId,
  2. GroupListener listenerClass
)

The GroupListener class provides you with all the real-time events related to groups

Implementation

static addGroupListener(String listenerId, GroupListener listenerClass) {
  _groupListeners[listenerId] = listenerClass;
}