Package-level declarations
Types
Link copied to clipboard
abstract class BaseNetworkStateRepo(createNotInitializedState: () -> NetworkState.NotInitialized, createInitializingState: suspend ColdStateFlowRepo<NetworkState>.(NetworkState.Inactive) -> suspend () -> NetworkState, createDeinitializingState: suspend ColdStateFlowRepo<NetworkState>.(NetworkState.Active) -> suspend () -> NetworkState.Deinitialized, coroutineContext: CoroutineContext) : ColdStateFlowRepo<NetworkState>
An abstract ColdStateFlowRepo for managing NetworkState
Link copied to clipboard
interface BaseNetworkStateRepoBuilder
Builder for creating a BaseNetworkStateRepo
Link copied to clipboard
A KalugaState of a NetworkConnectionType
Link copied to clipboard
A StateRepo/MutableStateFlow of NetworkState
Link copied to clipboard
open class NetworkStateImplRepo(createNetworkManager: suspend () -> NetworkManager, coroutineContext: CoroutineContext) : BaseNetworkStateRepo
A BaseNetworkStateRepo managed using a NetworkManager
Link copied to clipboard
class NetworkStateRepo(networkManagerBuilder: NetworkManager.Builder, coroutineContext: CoroutineContext) : NetworkStateImplRepo
A NetworkStateImplRepo using a NetworkManager
Link copied to clipboard
Default implementation of BaseNetworkStateRepoBuilder
Default implementation of BaseNetworkStateRepoBuilder
Default implementation of BaseNetworkStateRepoBuilder
Default implementation of BaseNetworkStateRepoBuilder
Default implementation of BaseNetworkStateRepoBuilder
Functions
Link copied to clipboard
Transforms a Flow of NetworkState into a flow of its associated NetworkConnectionType
Link copied to clipboard
Transforms a Flow of NetworkState into a flow indicating the network is considered to be available.