addloginListener static method

dynamic addloginListener(
  1. String listenerId,
  2. LoginListener listenerClass
)

The LoginListener class provides you with all the real-time updates for the login and logout events

Implementation

static addloginListener(String listenerId, LoginListener listenerClass) {
  _loginListeners[listenerId] = listenerClass;
}