ConnectivityViewModel
class ConnectivityViewModel(val dispatchersProvider: DispatchersProvider, val observeServerConnectivityUseCase: ObserveSeverConnectivityUseCase, val getMonitorConnectivityUseCase: GetMonitorConnectivityUseCase, val observeMonitorConnectivityUseCase: ObserveMonitorConnectivityUseCase, val onError: (Throwable) -> Unit = {}) : BaseMviViewModel<ConnectivityState, EmptyIntent, EmptyEffect> (source)
Coordinates ConnectivityViewModel behavior in the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(dispatchersProvider: DispatchersProvider, observeServerConnectivityUseCase: ObserveSeverConnectivityUseCase, getMonitorConnectivityUseCase: GetMonitorConnectivityUseCase, observeMonitorConnectivityUseCase: ObserveMonitorConnectivityUseCase, onError: (Throwable) -> Unit = {})
Properties
Link copied to clipboard
Link copied to clipboard
Exposes the dispatchersProvider value used by the SDAI presentation layer.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Exposes the getMonitorConnectivityUseCase value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the observeMonitorConnectivityUseCase value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the observeServerConnectivityUseCase value used by the SDAI presentation layer.
Link copied to clipboard