Package-level declarations

Types

Link copied to clipboard

An immutable snapshot of a ScopeStack: the accumulated scope defaults plus the effective screen / section. Use enrich to apply it to an event's properties.

Link copied to clipboard

An opaque token identifying a pushed frame, for ScopeStack.update and ScopeStack.remove.

Link copied to clipboard

The ambient scope + screen context of the currently visible UI, as a stack of pushed frames.

Link copied to clipboard

The most recently viewed screen, so the next screen view can be enriched with previous_screen and an autocaptured event can fall back to a screen when no ScopeStack frame supplies one.

Properties

Link copied to clipboard

The event name an autocaptured tap is reported under when the caller doesn't choose one.

Functions

Link copied to clipboard

Records name as the current screen and emits a Screen Viewed for it, carrying the screen it replaced as previous_screen. The one place that couples recording with emitting, so every native screen-capture caller — the iOS UIKit swizzle, the iOS explicit SwiftUI path, and the Android Activity/Fragment lifecycle capture — cannot drift on the order or on the self-previous guard.