Package-level declarations
Types
Enables automatic click capture when passed to AutographProvider — taps anywhere in the composition are observed and reported via dev.ynagai.autograph.Tracker.track without needing trackClick on every element. Opt-in: omit it (the default) to only report explicitly instrumented elements.
The screen (and optional section) an element belongs to. Provided by TrackedScreen so that nested instrumentation — e.g. impression and click tracking — can attach screen context automatically.
Properties
The ambient ScreenContext, or null outside of a TrackedScreen.
The ambient Tracker for the composition. Provide it with AutographProvider; until then, events are dropped and a single warning is printed.
Functions
Marks a subtree as excluded from autocapture (see AutocaptureConfig / AutographProvider). Explicit instrumentation (trackClick/trackImpression) inside the subtree is unaffected — this only stops the ambient tap observer from reporting taps here on its own.
Provides tracker to the composition via LocalTracker and wires application lifecycle events (foreground/background) into the tracker's session bookkeeping.
AutographScope overload taking a JsonObject, for scope values that aren't strings (numbers, booleans, nested objects) or that are already assembled as a JsonObject.
Attaches properties to every event emitted from content — a screen-scoped context such as the article_id on an articles/{article_id} route.
Fires name on click, then invokes onClick. Screen/section from the ambient ScreenContext (see TrackedScreen) are merged into properties automatically when this element is nested inside one.
TrackScreenView plus ambient ScreenContext for the content — nested instrumentation inside content is attributed to this screen automatically.
Fires name the first time this element becomes visible — at least minFractionVisible of its bounds inside the viewport for at least minDurationMs — and never again for the lifetime of this composable instance, even if it later scrolls out of view and back. Built on the stable androidx.compose.ui.layout.onVisibilityChanged; that API itself re-fires on every visibility transition, so the "only once" bookkeeping happens here.
Automatically records a Screen Viewed event for every destination change of this NavController (androidx.navigation, a.k.a. navigation-compose).