Package-level declarations

Types

Link copied to clipboard
data class AnalyticsDebugLabels(val title: String = "Analytics", val description: String = "Recent calls, newest first, with payloads as providers receive them.", val searchPlaceholder: String = "Filter by name or property", val clearSearch: String = "Clear filter", val allActions: String = "All", val clear: String = "Clear", val empty: String = "No analytics calls yet", val noMatches: String = "No calls match the filter", val entryCount: String = "captured calls", val track: String = "Event", val trackScreen: String = "Screen", val identify: String = "Identify", val setUserProperties: String = "User properties", val increment: String = "Increment", val reset: String = "Reset", val flush: String = "Flush")

User-visible strings for AnalyticsDebugScreen. English defaults; override to localize.

Link copied to clipboard
data class RemoteConfigDebugLabels(val title: String = "Remote config", val description: String = "Overrides apply to this device only and are ignored in release builds.", val searchPlaceholder: String = "Search keys", val clearSearch: String = "Clear search", val noMatches: String = "No matching keys", val sourceDefault: String = "Default", val sourceRemote: String = "Remote", val sourceOverride: String = "Override", val overrideValue: String = "Override value", val invalidValue: String = "Not a valid value for this key", val apply: String = "Apply", val reset: String = "Reset", val resetAll: String = "Reset all", val resetAllTitle: String = "Reset all overrides?", val cancel: String = "Cancel", val resetAllMessage: String = "Every key returns to its remote or default value.")

User-visible strings for RemoteConfigDebugScreen. English defaults; override to localize.

Functions

Link copied to clipboard
fun AnalyticsDebugScreen(store: AnalyticsDebugStore, modifier: Modifier = Modifier, labels: AnalyticsDebugLabels = AnalyticsDebugLabels())

AnalyticsDebugScreen observing store, whose clear action empties the store.

fun AnalyticsDebugScreen(entries: List<AnalyticsDebugEntry>, onClear: () -> Unit, modifier: Modifier = Modifier, labels: AnalyticsDebugLabels = AnalyticsDebugLabels(), zone: ZoneId = ZoneId.systemDefault())

A debug log of captured analytics calls (see AnalyticsCaptureClient), newest first, filterable by action and by a text query over names and properties.

Link copied to clipboard
fun RemoteConfigDebugScreen(client: RemoteConfigClient, overrideStore: LocalOverrideStore, modifier: Modifier = Modifier, labels: RemoteConfigDebugLabels = RemoteConfigDebugLabels())

RemoteConfigDebugScreen bound to a client and the overrideStore its resolver reads, so each edit is written and the list re-resolved immediately. client must resolve through overrideStore (see ConfigResolver), or overrides will not show up here.

fun RemoteConfigDebugScreen(entries: List<ResolvedConfigEntry>, onOverride: (ConfigKey, ConfigValue) -> Unit, onResetOverride: (ConfigKey) -> Unit, onResetAll: () -> Unit, modifier: Modifier = Modifier, labels: RemoteConfigDebugLabels = RemoteConfigDebugLabels())

A debug screen listing every remote-config key with its effective value and where it came from, with an editor per key for setting or resetting a local override.