screenViewIdGenerator

Produces the AmbientContext.screenViewId of each Screen Viewed that Autograph's screen tracking emits through this stack (#242): the native screen captures and autograph-compose's screen trackers alike. Called on the main thread, once per screen view; an id it fails to produce (it throws, or returns an empty string) leaves that visit without one rather than failing the screen view.

The tracker's dev.ynagai.autograph.AutographConfig.eventId is not applied here automatically: Autograph { } builds a tracker and never sees the stack, which the app creates and hands to the captures itself. The default is the same as the tracker's default, EventId.UuidV7; an app that configures a different eventId and wants visit ids in the same format sets the same generator here. Set it before the captures start; main thread only.