ServerViewModel

class ServerViewModel @Inject constructor(context: Context) : ViewModel

Constructors

Link copied to clipboard
@Inject
constructor(context: Context)

Properties

Link copied to clipboard
val state: StateFlow<ServerState>

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
fun advertise()
Link copied to clipboard
Link copied to clipboard
fun onButtonPressedChanged(isButtonPressed: Boolean): Job
Link copied to clipboard