Package-level declarations

Types

Link copied to clipboard

An enum class that represents the authentication mode of a Wi-Fi network.

Link copied to clipboard

This enum class represents the encryption mode of a Wi-Fi network.

Link copied to clipboard
data class Error(val t: Throwable) : NetworkState

Error is a data class that represents the error state of the network.

Link copied to clipboard
data object Loading : NetworkState

Loading is a class that represents the loading state of the network.

Link copied to clipboard
sealed interface NetworkState

NetworkState is a sealed interface that holds the different network states.

Link copied to clipboard
data class Success(val data: List<ScanResult>) : NetworkState

Success is a data class that represents the success state of the network.

Link copied to clipboard
data class WifiData(val ssid: String, val password: String?, val macAddress: String?, val authType: AuthenticationMode, val encryptionMode: EncryptionMode) : Parcelable

WifiData is a data class that holds the Wi-Fi data.