Dev Console
Functions
Session-code credentials for the running server, or null when it is not running.
Captures the foreground Activity's window and stores it as an attachment, then mirrors it onto the timeline. Safe to call from any dispatcher -- the capture path hops to the main thread only where the underlying platform APIs require it.
Java-friendly counterpart to captureScreenshot; the callback is invoked on a background thread with a sealed result.
Creates the SDK-owned inspector intent after initialization; protected builds return null.
The current effective string value for a flag, for multi-valued flags declared with io.devconsole.state.FeatureFlag.ofOptions. Returns "" for an unknown key.
The current effective value for a flag declared in DevConsoleConfig.featureFlags.
Prepares the SDK's capture engine, storage, and state/flag registries so network, WebSocket, push, and timeline recording are ready to receive events. This does not open a network port or start the browser dashboard -- that only happens on an explicit startBrowser / startBrowserAsync call.
Feed host log lines in so they join the timeline alongside network calls and crashes.
Wrap in a DevConsoleMockInterceptor and add it to the host's own OkHttpClient.
Wrap in a DevConsoleOkHttpInterceptor and add it to the host's own OkHttpClient.
Called directly from the host's own push receiver. Never attempts provider delivery itself.
Registers a state provider after initialize, for features that are constructed lazily.
Wrap in a DevConsoleOkHttpWebSocketListener when opening the host's own WebSocket.
Binds the embedded server and opens the browser dashboard. The SDK never does this on its own -- initialize only prepares capture/storage, so nothing is reachable over the network until a host calls this (or startBrowserAsync) explicitly, typically from a debug menu action, a shake gesture, or unconditionally from onCreate if that suits the host.
Java-friendly counterpart to startBrowser; the callback is invoked on a background thread with a sealed result.