Expand description
Content filter for ScreenCaptureKit streams
This module provides a wrapper around SCContentFilter that uses the Swift bridge.
§Examples
use screencapturekit::shareable_content::SCShareableContent;
use screencapturekit::stream::content_filter::SCContentFilter;
let content = SCShareableContent::get()?;
let display = &content.displays()[0];
// Capture entire display
let filter = SCContentFilter::builder()
.display(display)
.exclude_windows(&[])
.build();Structs§
- SCContent
Filter - Content filter for
ScreenCaptureKitstreams - SCContent
Filter Builder - Builder for creating
SCContentFilterinstances