Menu

Stop lesson

For scenarios such as, "a master stopping the course" or "a student leaving the course", call the following API method:

if (sessionManageAgent.isSessionRunning()) {
 sessionManager.stopSession(int timeoutSecs);
}
sessionManageAgent.unregisterListener(sessionStatusListener);

Apart from the session, all the necessary components started and registered during the start/join lesson should be stopped and unregistered on stop lesson.