Package-level declarations
Types
Link copied to clipboard
class AnalyticsCaptureClient(delegate: AnalyticsClient, debugStore: AnalyticsDebugStore, clockMs: () -> Long = System::currentTimeMillis) : AnalyticsClient
Decorates an AnalyticsClient, logging every call into an AnalyticsDebugStore (e.g. for an in-app "recent analytics events" debug screen) before forwarding to delegate.
Link copied to clipboard
The kind of AnalyticsClient call an AnalyticsDebugEntry captured.
Link copied to clipboard
data class AnalyticsDebugEntry(val id: Long = 0, val timestampMs: Long, val action: AnalyticsDebugAction, val name: String, val properties: Map<String, Any>)
One captured analytics call, for an in-app debug screen.
Link copied to clipboard
interface AnalyticsDebugStore
Ring buffer of recent analytics calls, observable via entries.
Link copied to clipboard
Bounded in-memory AnalyticsDebugStore backed by a StateFlow.