Crate objc2_screen_capture_kit

Crate objc2_screen_capture_kit 

Source
Expand description

§Bindings to the ScreenCaptureKit framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

SCCaptureDynamicRangeSCStream
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.
SCCaptureResolutionTypeSCStream
Apple’s documentation
SCContentFilterSCStream
SCContentFilter
SCContentSharingPickerSCContentSharingPicker
SCContentSharingPicker
SCContentSharingPickerConfigurationSCContentSharingPicker
SCContentSharingPickerConfiguration
SCContentSharingPickerModeSCContentSharingPicker
SCContentSharingPickerModeSingleWindow picker mode for single window selection
SCDisplaySCShareableContent
Apple’s documentation
SCFrameStatusSCStream
SCFrameStatus denotes the status of frame sample buffer.
SCPresenterOverlayAlertSettingSCStream
SCPresenterOverlayAlertSetting denotes the setting that can be set to determine when to show the presenter overlay alert for any stream
SCRecordingOutputSCRecordingOutput
Apple’s documentation
SCRecordingOutputConfigurationSCRecordingOutput
SCRecordingOutputConfiguration
SCRunningApplicationSCShareableContent
Apple’s documentation
SCScreenshotConfigurationSCScreenshotManager
Apple’s documentation
SCScreenshotDisplayIntentSCScreenshotManager
Apple’s documentation
SCScreenshotDynamicRangeSCScreenshotManager
Apple’s documentation
SCScreenshotManagerSCScreenshotManager
Apple’s documentation
SCScreenshotOutputSCScreenshotManager
Apple’s documentation
SCShareableContentSCShareableContent
Apple’s documentation
SCShareableContentInfoSCShareableContent
SCShareableContentInfo
SCShareableContentStyleSCShareableContent
Defines the type of content being shared
SCStreamSCStream
Apple’s documentation
SCStreamConfigurationSCStream
SCStreamConfiguration
SCStreamConfigurationPresetSCStream
Client can use SCStreamConfigurationPreset to create SCStreamConfiguration with suggested values of properties for various use cases
SCStreamErrorCodeSCError
Apple’s documentation
SCStreamOutputTypeSCStream
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.
SCStreamTypeDeprecatedSCStream
SCStreamTypeWindow window stream
SCWindowSCShareableContent
Apple’s documentation

Statics§

SCStreamErrorDomainSCError
Apple’s documentation
SCStreamFrameInfoBoundingRectSCStream
SCStreamFrameInfoBoundingRect
SCStreamFrameInfoContentRectSCStream
SCStreamFrameInfoContentRect
SCStreamFrameInfoContentScaleSCStream
SCStreamFrameInfoContentScale
SCStreamFrameInfoDirtyRectsSCStream
SCStreamFrameInfoDirtyRects
SCStreamFrameInfoDisplayTimeSCStream
SCStreamFrameInfoDisplayTime
SCStreamFrameInfoPresenterOverlayContentRectSCStream
SCStreamFrameInfoPresenterOverlayContentRect
SCStreamFrameInfoScaleFactorSCStream
SCStreamFrameInfoScaleFactor
SCStreamFrameInfoScreenRectSCStream
SCStreamFrameInfoScreenRect
SCStreamFrameInfoStatusSCStream
SCStreamFrameInfoStatus

Traits§

SCContentSharingPickerObserverSCContentSharingPicker
SCContentSharingPickerObserver
SCRecordingOutputDelegateSCRecordingOutput
Defines an interface for delegates of SCRecordingOutput to respond to events that occur in the process of recording to file.
SCStreamDelegateSCStream
SCStreamDelegate
SCStreamOutputSCStream
Apple’s documentation

Type Aliases§

SCStreamFrameInfoSCStream
Apple’s documentation