EndpointDetailsViewModel

class EndpointDetailsViewModel(key: EndpointConfiguration.Key?, device: Device, endpointsService: <Error class: unknown class>, updateService: <Error class: unknown class>, clearingService: <Error class: unknown class>, eventBus: EventBus, scope: CoroutineScope? = null) : ViewModel

Constructors

Link copied to clipboard
constructor(key: EndpointConfiguration.Key?, device: Device, endpointsService: <Error class: unknown class>, updateService: <Error class: unknown class>, clearingService: <Error class: unknown class>, eventBus: EventBus, scope: CoroutineScope? = null)

Types

Link copied to clipboard
sealed class State

Properties

Link copied to clipboard
Link copied to clipboard
expect val viewModelScope: CoroutineScope

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onDefaultPresetSelected(dashboardOverridePreset: DashboardOverridePreset)
Link copied to clipboard
fun onDefaultStatusChange(value: HttpStatusCode?)
Link copied to clipboard
fun onDelayChange(value: String?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onErrorPresetSelected(dashboardOverridePreset: DashboardOverridePreset)
Link copied to clipboard
fun onErrorStatusChange(value: HttpStatusCode?)
Link copied to clipboard
fun onFailChange(value: Boolean?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onResetAll(): Job