setUpSession

fun setUpSession(    serverOfflineMessage: StringResource = Res.string.server_currently_offline,     serverOfflineIcon: ImageVector = Icons.Default.Warning,     noInternetConnectionMessage: StringResource = Res.string.no_internet_connection,     noInternetConnectionIcon: ImageVector = vectorResource(Res.drawable.no_internet),     hasBeenDisconnectedAction: () -> Unit)

Method used to set up the sessionSetup instance

Parameters

serverOfflineMessage

The message to use when the server is offline

serverOfflineIcon

The icon to use when the server is offline

noInternetConnectionMessage

The message to use when the internet connection is not available

noInternetConnectionIcon

The icon to use when the internet connection is not available

hasBeenDisconnectedAction

The action to execute when the user has been disconnected


fun setUpSession(sessionSetupValue: SessionSetup)

Method used to set up the sessionSetup instance

Parameters

sessionSetupValue

The setup to use for the current session