Expand description
§Bindings to the ScreenCaptureKit framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- SCCapture
Dynamic Range SCStream - SCCaptureDynamicRange client can specify whether the captured screen output will be SDR or HDR. When SCCaptureDynamicRangeHDR is set, the output screen capture buffer pixel format and color space will be updated in order to support HDR.
- SCCapture
Resolution Type SCStream - Apple’s documentation
- SCContent
Filter SCStream - SCContentFilter
- SCContent
Sharing Picker SCContentSharingPicker - SCContentSharingPicker
- SCContent
Sharing Picker Configuration SCContentSharingPicker - SCContentSharingPickerConfiguration
- SCContent
Sharing Picker Mode SCContentSharingPicker - SCContentSharingPickerModeSingleWindow picker mode for single window selection
- SCDisplay
SCShareableContent - Apple’s documentation
- SCFrame
Status SCStream - SCFrameStatus denotes the status of frame sample buffer.
- SCPresenter
Overlay Alert Setting SCStream - SCPresenterOverlayAlertSetting denotes the setting that can be set to determine when to show the presenter overlay alert for any stream
- SCRecording
Output SCRecordingOutput - Apple’s documentation
- SCRecording
Output Configuration SCRecordingOutput - SCRecordingOutputConfiguration
- SCRunning
Application SCShareableContent - Apple’s documentation
- SCScreenshot
Configuration SCScreenshotManager - Apple’s documentation
- SCScreenshot
Display Intent SCScreenshotManager - Apple’s documentation
- SCScreenshot
Dynamic Range SCScreenshotManager - Apple’s documentation
- SCScreenshot
Manager SCScreenshotManager - Apple’s documentation
- SCScreenshot
Output SCScreenshotManager - Apple’s documentation
- SCShareable
Content SCShareableContent - Apple’s documentation
- SCShareable
Content Info SCShareableContent - SCShareableContentInfo
- SCShareable
Content Style SCShareableContent - Defines the type of content being shared
- SCStream
SCStream - Apple’s documentation
- SCStream
Configuration SCStream - SCStreamConfiguration
- SCStream
Configuration Preset SCStream - Client can use SCStreamConfigurationPreset to create SCStreamConfiguration with suggested values of properties for various use cases
- SCStream
Error Code SCError - Apple’s documentation
- SCStream
Output Type SCStream - SCStreamOutputTypeScreen is a screen capture sample buffer. This sample buffer that is wrapping a CMSampleBuffer that is backed by an IOSurface. The width and height of the sample buffer is what is defined in the SCStreamConfiguration for width and height. The sample buffer will be called back on the provided queue when adding a SCStreamOutput. The pixel format of the sample buffer will be what is defined in the SCStreamConfiguration. In the case of multiple window capture, the width and height will be that of the display passed in for the filter. The background color of multiwindow sample buffers will be default black and can be set through the SCStreamConfiguration.
- SCStream
Type Deprecated SCStream - SCStreamTypeWindow window stream
- SCWindow
SCShareableContent - Apple’s documentation
Statics§
- SCStream
Error ⚠Domain SCError - Apple’s documentation
- SCStream
Frame ⚠Info Bounding Rect SCStream - SCStreamFrameInfoBoundingRect
- SCStream
Frame ⚠Info Content Rect SCStream - SCStreamFrameInfoContentRect
- SCStream
Frame ⚠Info Content Scale SCStream - SCStreamFrameInfoContentScale
- SCStream
Frame ⚠Info Dirty Rects SCStream - SCStreamFrameInfoDirtyRects
- SCStream
Frame ⚠Info Display Time SCStream - SCStreamFrameInfoDisplayTime
- SCStream
Frame ⚠Info Presenter Overlay Content Rect SCStream - SCStreamFrameInfoPresenterOverlayContentRect
- SCStream
Frame ⚠Info Scale Factor SCStream - SCStreamFrameInfoScaleFactor
- SCStream
Frame ⚠Info Screen Rect SCStream - SCStreamFrameInfoScreenRect
- SCStream
Frame ⚠Info Status SCStream - SCStreamFrameInfoStatus
Traits§
- SCContent
Sharing Picker Observer SCContentSharingPicker - SCContentSharingPickerObserver
- SCRecording
Output Delegate SCRecordingOutput - Defines an interface for delegates of SCRecordingOutput to respond to events that occur in the process of recording to file.
- SCStream
Delegate SCStream - SCStreamDelegate
- SCStream
Output SCStream - Apple’s documentation