EndpointDetailsViewModel

class EndpointDetailsViewModel(key: EndpointConfiguration.Key?, device: Device, endpointsService: MockzillaManagement.EndpointsService, updateService: MockzillaManagement.UpdateService, clearingService: MockzillaManagement.CacheClearingService, eventBus: EventBus, scope: CoroutineScope? = null) : ViewModel

Constructors

Link copied to clipboard
constructor(key: EndpointConfiguration.Key?, device: Device, endpointsService: MockzillaManagement.EndpointsService, updateService: MockzillaManagement.UpdateService, clearingService: MockzillaManagement.CacheClearingService, eventBus: EventBus, scope: CoroutineScope? = null)

Types

Link copied to clipboard
sealed class State

Properties

Link copied to clipboard
val state: MutableStateFlow<EndpointDetailsViewModel.State>
Link copied to clipboard
expect val viewModelScope: CoroutineScope

Functions

Link copied to clipboard
fun onFailChange(value: Boolean?)
Link copied to clipboard
Link copied to clipboard
fun onPresetSelected(dashboardOverridePreset: DashboardOverridePreset)
Link copied to clipboard
fun onResetAll(): Job
Link copied to clipboard
fun updateLatency(value: Int?)