DevConsoleRuntime

class DevConsoleRuntime(runtimeGate: RuntimeGate)

Constructors

Link copied to clipboard
constructor(runtimeGate: RuntimeGate)

Properties

Link copied to clipboard
val health: StateFlow<SdkHealth>
Link copied to clipboard
val state: StateFlow<DevConsoleState>

Functions

Link copied to clipboard
fun beginServerStart(): StartResult?

Reserves the runtime lifecycle for a platform server start. The core module deliberately does not know about a concrete server implementation; platform facades complete this transition after their loopback engine has started.

Link copied to clipboard

The one app-run identifier shared by platform capture and durable storage.

Link copied to clipboard
fun initialize(requestedConfig: DevConsoleConfig, provisional: Boolean = false): InitResult

provisional marks a config installed by auto-initialization rather than by the host. Such a config is replaced by the first explicit initialize instead of conflicting with it.

Link copied to clipboard

Counts count events lost before they reached durable storage -- the queue-overflow path.

Link copied to clipboard

Counts one captured event onto health. Platform capture funnels every timeline emission through here so publishedEventCount reports what the SDK actually captured; without it the dashboard's SDK-health card and the Android More screen both read a permanent 0 while the timeline filled up behind them.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun start(): StartResult
Link copied to clipboard
fun stop(reason: StopReason)