Package-level declarations

Types

Link copied to clipboard
object DeviceType

Detects whether the app is running on an Android emulator or a physical device.

Link copied to clipboard

Midnight network environments.

Link copied to clipboard
@Singleton
class NetworkClientFactory @Inject constructor

Creates NetworkConfig instances for any MidnightNetwork on demand. The entry point for reactive network switching — consumers use this in a flatMapLatest on NetworkRepository.selectedNetworkFlow to create fresh clients when the network changes.

Link copied to clipboard
data class NetworkConfig(val network: MidnightNetwork, val indexerBaseUrl: String, val nodeRpcUrl: String, val proofServerUrl: String, val developmentMode: Boolean)

Configuration for a Midnight network environment.

Link copied to clipboard
class NetworkRepository(context: Context)

Repository for managing the selected Midnight network.