clearListeners

This method will clear all the listeners for the session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
getSession ().clearListeners ();

clearSharedData

This method will clear all the shared data for the session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
getSession ().clearSharedData ();

getApiSetting

This method gets the API settings for the current session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
var apiSetting = getSession ().getApiSetting ();

getListener (listenerType)

This method gets the Boyka listener for the given listener type. :::danger Important!! This method is for internal use only. :::

getMobileSetting

This method gets the Mobile settings for the current session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
var mobileSetting = getSession ().getMobileSetting ();

getSharedData (key)

This method gets the shared data for the current session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
var mobileSetting = getSession ().getSharedData ("sample.key");

getWebSetting

This method gets the Web settings for the current session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
var webSetting = getSession ().getWebSetting ();

removeSharedData (key)

This method removes the shared data for a particular key for the current session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
var value = getSession ().removeSharedData ("some.key");

setSharedData (key, value)

This method sets the shared data for a particular key for the current session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
getSession ().setSharedData ("some.key", "some value");