SessionSetup

data class SessionSetup(    val serverOfflineMessage: StringResource,     val serverOfflineIcon: ImageVector,     val noInternetConnectionMessage: StringResource,     val noInternetConnectionIcon: ImageVector,     val hasBeenDisconnectedAction: () -> Unit)

The SessionSetup class is useful to create a setup for the current session

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

Constructors

Link copied to clipboard
constructor(serverOfflineMessage: StringResource, serverOfflineIcon: ImageVector, noInternetConnectionMessage: StringResource, noInternetConnectionIcon: ImageVector, hasBeenDisconnectedAction: () -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
val noInternetConnectionMessage: StringResource
Link copied to clipboard
Link copied to clipboard
val serverOfflineMessage: StringResource