Front-end
Mac
Mac
  • README
  • ScreenCaptureKit
    • API
      • SCShareableContent
        • [检索共享内容]Retrieving shareable content
        • [共享内容对象]Inspecting shareable content
        • [类型方法]Type Methods
      • Content capture[内容捕获]
        • SCStream[流]
        • SCStreamConfiguration
        • SCContentFilter
        • CSStreamDeleagate
        • SCScreenshotmanger
      • output processing [输出程序]
        • SCStreamOutput
        • SCStreamOutputType
        • SCStreamFrameInfo
        • SCFrameStatus
      • system content-sharing picker[系统内容共享选择器]
        • SCContentSharingPicker
        • SCContentSharingPickerConfiguration
        • SCContentSharingPickerMode
        • SCContentSharingPickerObserver
      • Stream errors
        • SCStreamError
  • Project
    • cut studio
  • issue
    • issue
  • 额外工具
    • Create-dmg
Powered by GitBook
On this page
  1. ScreenCaptureKit
  2. API
  3. system content-sharing picker[系统内容共享选择器]

SCContentSharingPickerConfiguration

//  picker的配置
@available(macOS 14.0, *)
public struct SCContentSharingPickerConfiguration {

    //  《1》初始化
    public init() 

    //  《2》Control streaming selections 控制流的选择
    public var allowedPickerModes: SCContentSharingPickerMode // 允许的模式

    public var excludedWindowIDs: [Int] // 排除掉的windowIDS

    public var excludedBundleIDs: [String] // 排除掉的bundleIDs

    public var allowsChangingSelectedContent: Bool // 允许改变选择内容
}
PreviousSCContentSharingPickerNextSCContentSharingPickerMode

Last updated 1 year ago