DeviceConnectionViewModel

class DeviceConnectionViewModel(metaDataUseCase: ERROR CLASS: Symbol not found for MetaDataUseCase, activeDeviceSelector: ERROR CLASS: Symbol not found for ActiveDeviceSelector, deviceDetectionUseCase: DeviceDetectionUseCase) : <ERROR CLASS> ERROR CLASS: Symbol not found for ViewModel

Constructors

Link copied to clipboard
constructor(metaDataUseCase: ERROR CLASS: Symbol not found for MetaDataUseCase, activeDeviceSelector: ERROR CLASS: Symbol not found for ActiveDeviceSelector, deviceDetectionUseCase: DeviceDetectionUseCase)

Types

Link copied to clipboard
data class State(val ipAndPort: String = "", val connectionState: DeviceConnectionViewModel.State.ConnectionState = ConnectionState.Disconnected, val devices: List<ERROR CLASS: Symbol not found for DetectedDevice> = emptyList())

Properties

Link copied to clipboard
val state: ERROR CLASS: Unresolved name: MutableStateFlow

Functions

Link copied to clipboard
fun connectToDevice(device: ERROR CLASS: Symbol not found for DetectedDevice): ERROR CLASS: Unresolved name: launch
Link copied to clipboard
fun onIpAndPortChanged(newValue: String)