ConnectivityState

sealed interface ConnectivityState : MviState(source)

Defines the ConnectivityState contract for the SDAI presentation layer.

Author

Dmitriy Moroz

Inheritors

Types

Link copied to clipboard
object Companion

Provides the companion object singleton used by the SDAI presentation layer.

Link copied to clipboard
data class Connected(val enabled: Boolean = true) : ConnectivityState

Carries Connected data through the SDAI presentation layer.

Link copied to clipboard
data class Disconnected(val enabled: Boolean = true) : ConnectivityState

Carries Disconnected data through the SDAI presentation layer.

Link copied to clipboard
data class Uninitialized(val enabled: Boolean = true) : ConnectivityState

Carries Uninitialized data through the SDAI presentation layer.

Properties

Link copied to clipboard
abstract val enabled: Boolean

Exposes the enabled value used by the SDAI presentation layer.