setSessionHandler static method

void setSessionHandler(
  1. SessionHandler handler
)

Set a SessionHandler which is required for SDK refresh the session when the current session expires. Must be set before the connection is made by connect.

Implementation

static void setSessionHandler(SessionHandler handler) {
  sbLog.i(StackTrace.current);
  _instance._chat.setSessionHandler(handler);
}