Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

Batched data snapshot of SCShareableContent.

Returned by SCShareableContent::snapshot. Every field on every display / window / running application is fetched in one Swift FFI call per category (instead of 1 + N + 6N for the per-element accessor pattern).

Structsยง

ApplicationSnapshot
Plain data describing one running application.
ContentSnapshot
All shareable content collected in one batched FFI round-trip.
DisplaySnapshot
Plain data describing one display.
SnapshotTruncation
Which categories of a ContentSnapshot may have been cut short by the batch FFI scratch-buffer caps.
WindowSnapshot
Plain data describing one window.