Package-level declarations

Types

Link copied to clipboard

A running native screen capture. Created by installAutographNativeScreenCapture; keep it to uninstall.

Link copied to clipboard

A running native tap capture. Created by installAutographNativeTapCapture; keep it to uninstall.

Properties

Link copied to clipboard

Marks this view and everything under it as excluded from native tap autocapture — the View counterpart of Compose's Modifier.autographIgnore().

Functions

Link copied to clipboard
fun installAutographNativeScreenCapture(application: Application, tracker: Tracker, scopeStack: ScopeStack, activityScreenName: (Activity) -> String? = { it.javaClass.name }, fragmentScreenName: (Fragment) -> String? = { it.javaClass.name }): AutographNativeScreenCapture

Starts reporting native Android screen transitions: on every Activity or Fragment that comes to the foreground and names a screen, a Screen Viewed event is emitted via tracker and a screen frame is pushed onto scopeStack so autocaptured events on that screen carry it; the frame stops answering when the screen leaves the display. This is the Android counterpart of the iOS UIKit viewDidAppear: capture, sharing the same ScopeStack/ScreenHistory and so the same previous_screen chain across a Compose↔native transition.

Link copied to clipboard
fun installAutographNativeTapCapture(application: Application, tracker: Tracker, scopeStack: ScopeStack, eventName: String = DEFAULT_AUTOCAPTURE_EVENT_NAME): AutographNativeTapCapture

Starts reporting taps on native Android View content (XML layouts, RecyclerView rows, legacy screens) as eventName. This is the Android counterpart of the iOS UIKit tap capture, and the pipeline autograph-compose cannot serve: Compose autocapture hit-tests the semantics tree, which does not see an android.view.View hierarchy at all.