Package-level declarations

Types

Link copied to clipboard
data class ConfirmExitOptions(val socket: SocketManager? = null, val localSocket: SocketManager? = null, val member: String, val roomName: String, val ban: Boolean = false)

Defines the options for confirming the exit of a member from a room.

Link copied to clipboard
typealias ConfirmExitType = suspend (ConfirmExitOptions) -> Unit

Type definition for the function that confirms a member's exit.

Link copied to clipboard
data class LaunchConfirmExitOptions(val updateIsConfirmExitModalVisible: (Boolean) -> Unit, val isConfirmExitModalVisible: Boolean)

Defines the options for toggling the confirmation exit modal visibility.

Link copied to clipboard

Type definition for the function that toggles the confirmation exit modal.

Functions

Link copied to clipboard
suspend fun confirmExit(options: ConfirmExitOptions)

Confirms the exit of a member from a room and optionally bans them.

Link copied to clipboard

Toggles the visibility of the confirmation exit modal.