Package-level declarations

Types

Link copied to clipboard

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

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 is removed when the screen is stopped. 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.