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
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

Ring buffer of recent analytics calls, observable via entries.

Link copied to clipboard
class InMemoryAnalyticsDebugStore(capacity: Int = DEFAULT_CAPACITY) : AnalyticsDebugStore

Bounded in-memory AnalyticsDebugStore backed by a StateFlow.