pyobjc-framework-ScreenCaptureKit 12.2__cp315-cp315-macosx_10_15_universal2.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,62 @@
1
+ """
2
+ Python mapping for the ScreenCaptureKit framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import Foundation
13
+ import objc
14
+ from . import _metadata, _ScreenCaptureKit
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="ScreenCaptureKit",
18
+ frameworkIdentifier="com.apple.ScreenCaptureKit",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/ScreenCaptureKit.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(
25
+ _ScreenCaptureKit,
26
+ Foundation,
27
+ ),
28
+ metadict=_metadata.__dict__,
29
+ )
30
+
31
+ globals()["__dir__"] = dir_func
32
+ globals()["__getattr__"] = getattr_func
33
+
34
+ for cls, sel in (
35
+ ("SCStream", b"init"),
36
+ ("SCStream", b"new"),
37
+ ("SCRunningApplication", b"init"),
38
+ ("SCRunningApplication", b"new"),
39
+ ("SCWindow", b"init"),
40
+ ("SCWindow", b"new"),
41
+ ("SCDisplay", b"init"),
42
+ ("SCDisplay", b"new"),
43
+ ("SCShareableContent", b"init"),
44
+ ("SCShareableContent", b"new"),
45
+ ("SCContentSharingPicker", b"init"),
46
+ ("SCContentSharingPicker", b"new"),
47
+ ):
48
+ objc.registerUnavailableMethod(cls, sel)
49
+
50
+ del sys.modules["ScreenCaptureKit._metadata"]
51
+
52
+
53
+ globals().pop("_setup")()
54
+
55
+ RP_REPORTING_CLIENT_NAME = "ReplayKit"
56
+ RP_REPORTING_SERVICE_NAME_SYSTEM_RECORDING = "SystemRecording"
57
+ RP_REPORTING_SERVICE_NAME_SYSTEM_BROADCAST = "SystemBroadcast"
58
+ RP_REPORTING_SERVICE_NAME_IN_APP_RECORDING = "InAppRecording"
59
+ RP_REPORTING_SERVICE_NAME_IN_APP_BROADCAST = "InAppBroadcast"
60
+ RP_REPORTING_SERVICE_NAME_IN_APP_CAPTURE = "InAppCapture"
61
+ RP_REPORTING_SERVICE_NAME_IN_APP_CLIP = "InAppClip"
62
+ RP_REPORTING_SERVICE_NAME_SCREEN_CAPTURE_KIT = "SCKCapture"
@@ -0,0 +1,578 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Sun May 24 11:57:33 2026
4
+ #
5
+ # flake8: noqa
6
+
7
+ import objc, sys
8
+ from typing import NewType
9
+
10
+ if sys.maxsize > 2**32:
11
+
12
+ def sel32or64(a, b):
13
+ return b
14
+
15
+ else:
16
+
17
+ def sel32or64(a, b):
18
+ return a
19
+
20
+
21
+ if objc.arch == "arm64":
22
+
23
+ def selAorI(a, b):
24
+ return a
25
+
26
+ else:
27
+
28
+ def selAorI(a, b):
29
+ return b
30
+
31
+
32
+ misc = {}
33
+ constants = """$SCStreamErrorDomain$SCStreamFrameInfoBoundingRect$SCStreamFrameInfoContentRect$SCStreamFrameInfoContentScale$SCStreamFrameInfoDirtyRects$SCStreamFrameInfoDisplayTime$SCStreamFrameInfoPresenterOverlayContentRect$SCStreamFrameInfoScaleFactor$SCStreamFrameInfoScreenRect$SCStreamFrameInfoStatus$"""
34
+ enums = """$RP_REPORTING_END_REASON_SUMMARY_EVENT@2$RP_REPORTING_SCREENSHOT_EVENT@3$RP_REPORTING_SUMMARY_EVENT@1$SCCaptureDynamicRangeHDRCanonicalDisplay@2$SCCaptureDynamicRangeHDRLocalDisplay@1$SCCaptureDynamicRangeSDR@0$SCCaptureResolutionAutomatic@0$SCCaptureResolutionBest@1$SCCaptureResolutionNominal@2$SCContentSharingPickerModeMultipleApplications@8$SCContentSharingPickerModeMultipleWindows@2$SCContentSharingPickerModeSingleApplication@4$SCContentSharingPickerModeSingleDisplay@16$SCContentSharingPickerModeSingleWindow@1$SCFrameStatusBlank@2$SCFrameStatusComplete@0$SCFrameStatusIdle@1$SCFrameStatusStarted@4$SCFrameStatusStopped@5$SCFrameStatusSuspended@3$SCPresenterOverlayAlertSettingAlways@2$SCPresenterOverlayAlertSettingNever@1$SCPresenterOverlayAlertSettingSystem@0$SCScreenshotDisplayIntentCanonical@0$SCScreenshotDisplayIntentLocal@1$SCScreenshotDynamicRangeHDR@1$SCScreenshotDynamicRangeSDR@0$SCScreenshotDynamicRangeSDRAndHDR@2$SCShareableContentStyleApplication@3$SCShareableContentStyleDisplay@2$SCShareableContentStyleNone@0$SCShareableContentStyleWindow@1$SCStreamConfigurationPresetCaptureHDRRecordingPreservedSDRHDR10@4$SCStreamConfigurationPresetCaptureHDRScreenshotCanonicalDisplay@3$SCStreamConfigurationPresetCaptureHDRScreenshotLocalDisplay@2$SCStreamConfigurationPresetCaptureHDRStreamCanonicalDisplay@1$SCStreamConfigurationPresetCaptureHDRStreamLocalDisplay@0$SCStreamErrorAttemptToConfigState@-3810$SCStreamErrorAttemptToStartStreamState@-3807$SCStreamErrorAttemptToStopStreamState@-3808$SCStreamErrorAttemptToUpdateFilterState@-3809$SCStreamErrorFailedApplicationConnectionInterrupted@-3805$SCStreamErrorFailedApplicationConnectionInvalid@-3804$SCStreamErrorFailedNoMatchingApplicationContext@-3806$SCStreamErrorFailedToStart@-3802$SCStreamErrorFailedToStartAudioCapture@-3818$SCStreamErrorFailedToStartMicrophoneCapture@-3820$SCStreamErrorFailedToStopAudioCapture@-3819$SCStreamErrorInternalError@-3811$SCStreamErrorInvalidParameter@-3812$SCStreamErrorMissingEntitlements@-3803$SCStreamErrorNoCaptureSource@-3815$SCStreamErrorNoDisplayList@-3814$SCStreamErrorNoWindowList@-3813$SCStreamErrorRemovingStream@-3816$SCStreamErrorSystemStoppedStream@-3821$SCStreamErrorUserDeclined@-3801$SCStreamErrorUserStopped@-3817$SCStreamOutputTypeAudio@1$SCStreamOutputTypeMicrophone@2$SCStreamOutputTypeScreen@0$SCStreamTypeDisplay@1$SCStreamTypeWindow@0$"""
35
+ misc.update(
36
+ {
37
+ "SCStreamConfigurationPreset": NewType("SCStreamConfigurationPreset", int),
38
+ "SCCaptureResolutionType": NewType("SCCaptureResolutionType", int),
39
+ "SCCaptureDynamicRange": NewType("SCCaptureDynamicRange", int),
40
+ "SCContentSharingPickerMode": NewType("SCContentSharingPickerMode", int),
41
+ "SCPresenterOverlayAlertSetting": NewType(
42
+ "SCPresenterOverlayAlertSetting", int
43
+ ),
44
+ "SCStreamErrorCode": NewType("SCStreamErrorCode", int),
45
+ "SCStreamType": NewType("SCStreamType", int),
46
+ "SCStreamOutputType": NewType("SCStreamOutputType", int),
47
+ "SCShareableContentStyle": NewType("SCShareableContentStyle", int),
48
+ "SCScreenshotDisplayIntent": NewType("SCScreenshotDisplayIntent", int),
49
+ "SCScreenshotDynamicRange": NewType("SCScreenshotDynamicRange", int),
50
+ "SCFrameStatus": NewType("SCFrameStatus", int),
51
+ }
52
+ )
53
+ misc.update({"SCStreamFrameInfo": NewType("SCStreamFrameInfo", str)})
54
+ misc.update({})
55
+ r = objc.registerMetaDataForSelector
56
+ objc._updatingMetadata(True)
57
+ try:
58
+ r(
59
+ b"NSObject",
60
+ b"contentSharingPicker:didCancelForStream:",
61
+ {
62
+ "required": True,
63
+ "retval": {"type": b"v"},
64
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
65
+ },
66
+ )
67
+ r(
68
+ b"NSObject",
69
+ b"contentSharingPicker:didUpdateWithFilter:forStream:",
70
+ {
71
+ "required": True,
72
+ "retval": {"type": b"v"},
73
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
74
+ },
75
+ )
76
+ r(
77
+ b"NSObject",
78
+ b"contentSharingPickerStartDidFailWithError:",
79
+ {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
80
+ )
81
+ r(
82
+ b"NSObject",
83
+ b"outputVideoEffectDidStartForStream:",
84
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
85
+ )
86
+ r(
87
+ b"NSObject",
88
+ b"outputVideoEffectDidStopForStream:",
89
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
90
+ )
91
+ r(
92
+ b"NSObject",
93
+ b"recordingOutput:didFailWithError:",
94
+ {
95
+ "required": False,
96
+ "retval": {"type": b"v"},
97
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
98
+ },
99
+ )
100
+ r(
101
+ b"NSObject",
102
+ b"recordingOutputDidFinishRecording:",
103
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
104
+ )
105
+ r(
106
+ b"NSObject",
107
+ b"recordingOutputDidStartRecording:",
108
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
109
+ )
110
+ r(
111
+ b"NSObject",
112
+ b"stream:didOutputSampleBuffer:ofType:",
113
+ {
114
+ "required": False,
115
+ "retval": {"type": b"v"},
116
+ "arguments": {
117
+ 2: {"type": b"@"},
118
+ 3: {"type": b"^{opaqueCMSampleBuffer=}"},
119
+ 4: {"type": b"q"},
120
+ },
121
+ },
122
+ )
123
+ r(
124
+ b"NSObject",
125
+ b"stream:didStopWithError:",
126
+ {
127
+ "required": False,
128
+ "retval": {"type": b"v"},
129
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
130
+ },
131
+ )
132
+ r(
133
+ b"NSObject",
134
+ b"streamDidBecomeActive:",
135
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
136
+ )
137
+ r(
138
+ b"NSObject",
139
+ b"streamDidBecomeInactive:",
140
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
141
+ )
142
+ r(b"SCContentFilter", b"includeMenuBar", {"retval": {"type": b"Z"}})
143
+ r(b"SCContentFilter", b"setIncludeMenuBar:", {"arguments": {2: {"type": b"Z"}}})
144
+ r(b"SCContentSharingPicker", b"isActive", {"retval": {"type": b"Z"}})
145
+ r(b"SCContentSharingPicker", b"setActive:", {"arguments": {2: {"type": b"Z"}}})
146
+ r(
147
+ b"SCContentSharingPickerConfiguration",
148
+ b"allowsChangingSelectedContent",
149
+ {"retval": {"type": b"Z"}},
150
+ )
151
+ r(
152
+ b"SCContentSharingPickerConfiguration",
153
+ b"setAllowsChangingSelectedContent:",
154
+ {"arguments": {2: {"type": b"Z"}}},
155
+ )
156
+ r(b"SCRecordingOutput", b"recordedDuration", {"retval": {"type": b"{CMTime=qiIq}"}})
157
+ r(b"SCScreenshotConfiguration", b"ignoreClipping", {"retval": {"type": b"Z"}})
158
+ r(b"SCScreenshotConfiguration", b"ignoreShadows", {"retval": {"type": b"Z"}})
159
+ r(b"SCScreenshotConfiguration", b"includeChildWindows", {"retval": {"type": b"Z"}})
160
+ r(
161
+ b"SCScreenshotConfiguration",
162
+ b"setIgnoreClipping:",
163
+ {"arguments": {2: {"type": b"Z"}}},
164
+ )
165
+ r(
166
+ b"SCScreenshotConfiguration",
167
+ b"setIgnoreShadows:",
168
+ {"arguments": {2: {"type": b"Z"}}},
169
+ )
170
+ r(
171
+ b"SCScreenshotConfiguration",
172
+ b"setIncludeChildWindows:",
173
+ {"arguments": {2: {"type": b"Z"}}},
174
+ )
175
+ r(
176
+ b"SCScreenshotConfiguration",
177
+ b"setShowsCursor:",
178
+ {"arguments": {2: {"type": b"Z"}}},
179
+ )
180
+ r(b"SCScreenshotConfiguration", b"showsCursor", {"retval": {"type": b"Z"}})
181
+ r(
182
+ b"SCScreenshotManager",
183
+ b"captureImageInRect:completionHandler:",
184
+ {
185
+ "arguments": {
186
+ 3: {
187
+ "callable": {
188
+ "retval": {"type": b"v"},
189
+ "arguments": {
190
+ 0: {"type": b"^v"},
191
+ 1: {"type": b"^{CGImage=}"},
192
+ 2: {"type": b"@"},
193
+ },
194
+ }
195
+ }
196
+ }
197
+ },
198
+ )
199
+ r(
200
+ b"SCScreenshotManager",
201
+ b"captureImageWithFilter:configuration:completionHandler:",
202
+ {
203
+ "arguments": {
204
+ 4: {
205
+ "callable": {
206
+ "retval": {"type": b"v"},
207
+ "arguments": {
208
+ 0: {"type": b"^v"},
209
+ 1: {"type": b"^{CGImage=}"},
210
+ 2: {"type": b"@"},
211
+ },
212
+ }
213
+ }
214
+ }
215
+ },
216
+ )
217
+ r(
218
+ b"SCScreenshotManager",
219
+ b"captureSampleBufferWithFilter:configuration:completionHandler:",
220
+ {
221
+ "arguments": {
222
+ 4: {
223
+ "callable": {
224
+ "retval": {"type": b"v"},
225
+ "arguments": {
226
+ 0: {"type": b"^v"},
227
+ 1: {"type": b"^{opaqueCMSampleBuffer=}"},
228
+ 2: {"type": b"@"},
229
+ },
230
+ }
231
+ }
232
+ }
233
+ },
234
+ )
235
+ r(
236
+ b"SCScreenshotManager",
237
+ b"captureScreenshotWithFilter:configuration:completionHandler:",
238
+ {
239
+ "arguments": {
240
+ 4: {
241
+ "callable": {
242
+ "retval": {"type": b"v"},
243
+ "arguments": {
244
+ 0: {"type": b"^v"},
245
+ 1: {"type": b"@"},
246
+ 2: {"type": b"@"},
247
+ },
248
+ }
249
+ }
250
+ }
251
+ },
252
+ )
253
+ r(
254
+ b"SCScreenshotManager",
255
+ b"captureScreenshotWithRect:configuration:completionHandler:",
256
+ {
257
+ "arguments": {
258
+ 4: {
259
+ "callable": {
260
+ "retval": {"type": b"v"},
261
+ "arguments": {
262
+ 0: {"type": b"^v"},
263
+ 1: {"type": b"@"},
264
+ 2: {"type": b"@"},
265
+ },
266
+ }
267
+ }
268
+ }
269
+ },
270
+ )
271
+ r(
272
+ b"SCShareableContent",
273
+ b"getCurrentProcessShareableContentWithCompletionHandler:",
274
+ {
275
+ "arguments": {
276
+ 2: {
277
+ "callable": {
278
+ "retval": {"type": b"v"},
279
+ "arguments": {
280
+ 0: {"type": b"^v"},
281
+ 1: {"type": b"@"},
282
+ 2: {"type": b"@"},
283
+ },
284
+ }
285
+ }
286
+ }
287
+ },
288
+ )
289
+ r(
290
+ b"SCShareableContent",
291
+ b"getShareableContentExcludingDesktopWindows:onScreenWindowsOnly:completionHandler:",
292
+ {
293
+ "arguments": {
294
+ 2: {"type": b"Z"},
295
+ 3: {"type": b"Z"},
296
+ 4: {
297
+ "callable": {
298
+ "retval": {"type": b"v"},
299
+ "arguments": {
300
+ 0: {"type": b"^v"},
301
+ 1: {"type": b"@"},
302
+ 2: {"type": b"@"},
303
+ },
304
+ }
305
+ },
306
+ }
307
+ },
308
+ )
309
+ r(
310
+ b"SCShareableContent",
311
+ b"getShareableContentExcludingDesktopWindows:onScreenWindowsOnlyAboveWindow:completionHandler:",
312
+ {
313
+ "arguments": {
314
+ 2: {"type": b"Z"},
315
+ 4: {
316
+ "callable": {
317
+ "retval": {"type": b"v"},
318
+ "arguments": {
319
+ 0: {"type": b"^v"},
320
+ 1: {"type": b"@"},
321
+ 2: {"type": b"@"},
322
+ },
323
+ }
324
+ },
325
+ }
326
+ },
327
+ )
328
+ r(
329
+ b"SCShareableContent",
330
+ b"getShareableContentExcludingDesktopWindows:onScreenWindowsOnlyBelowWindow:completionHandler:",
331
+ {
332
+ "arguments": {
333
+ 2: {"type": b"Z"},
334
+ 4: {
335
+ "callable": {
336
+ "retval": {"type": b"v"},
337
+ "arguments": {
338
+ 0: {"type": b"^v"},
339
+ 1: {"type": b"@"},
340
+ 2: {"type": b"@"},
341
+ },
342
+ }
343
+ },
344
+ }
345
+ },
346
+ )
347
+ r(
348
+ b"SCShareableContent",
349
+ b"getShareableContentWithCompletionHandler:",
350
+ {
351
+ "arguments": {
352
+ 2: {
353
+ "callable": {
354
+ "retval": {"type": b"v"},
355
+ "arguments": {
356
+ 0: {"type": b"^v"},
357
+ 1: {"type": b"@"},
358
+ 2: {"type": b"@"},
359
+ },
360
+ }
361
+ }
362
+ }
363
+ },
364
+ )
365
+ r(
366
+ b"SCStream",
367
+ b"addRecordingOutput:error:",
368
+ {"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
369
+ )
370
+ r(
371
+ b"SCStream",
372
+ b"addStreamOutput:type:sampleHandlerQueue:error:",
373
+ {"retval": {"type": b"Z"}, "arguments": {5: {"type_modifier": b"o"}}},
374
+ )
375
+ r(
376
+ b"SCStream",
377
+ b"removeRecordingOutput:error:",
378
+ {"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
379
+ )
380
+ r(
381
+ b"SCStream",
382
+ b"removeStreamOutput:type:error:",
383
+ {"retval": {"type": b"Z"}, "arguments": {4: {"type_modifier": b"o"}}},
384
+ )
385
+ r(
386
+ b"SCStream",
387
+ b"startCaptureWithCompletionHandler:",
388
+ {
389
+ "arguments": {
390
+ 2: {
391
+ "callable": {
392
+ "retval": {"type": b"v"},
393
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
394
+ }
395
+ }
396
+ }
397
+ },
398
+ )
399
+ r(
400
+ b"SCStream",
401
+ b"stopCaptureWithCompletionHandler:",
402
+ {
403
+ "arguments": {
404
+ 2: {
405
+ "callable": {
406
+ "retval": {"type": b"v"},
407
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
408
+ }
409
+ }
410
+ }
411
+ },
412
+ )
413
+ r(
414
+ b"SCStream",
415
+ b"updateConfiguration:completionHandler:",
416
+ {
417
+ "arguments": {
418
+ 3: {
419
+ "callable": {
420
+ "retval": {"type": b"v"},
421
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
422
+ }
423
+ }
424
+ }
425
+ },
426
+ )
427
+ r(
428
+ b"SCStream",
429
+ b"updateContentFilter:completionHandler:",
430
+ {
431
+ "arguments": {
432
+ 3: {
433
+ "callable": {
434
+ "retval": {"type": b"v"},
435
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
436
+ }
437
+ }
438
+ }
439
+ },
440
+ )
441
+ r(b"SCStreamConfiguration", b"captureMicrophone", {"retval": {"type": b"Z"}})
442
+ r(b"SCStreamConfiguration", b"capturesAudio", {"retval": {"type": b"Z"}})
443
+ r(b"SCStreamConfiguration", b"capturesShadowsOnly", {"retval": {"type": b"Z"}})
444
+ r(
445
+ b"SCStreamConfiguration",
446
+ b"excludesCurrentProcessAudio",
447
+ {"retval": {"type": b"Z"}},
448
+ )
449
+ r(b"SCStreamConfiguration", b"ignoreGlobalClipDisplay", {"retval": {"type": b"Z"}})
450
+ r(
451
+ b"SCStreamConfiguration",
452
+ b"ignoreGlobalClipSingleWindow",
453
+ {"retval": {"type": b"Z"}},
454
+ )
455
+ r(b"SCStreamConfiguration", b"ignoreShadowsDisplay", {"retval": {"type": b"Z"}})
456
+ r(
457
+ b"SCStreamConfiguration",
458
+ b"ignoreShadowsSingleWindow",
459
+ {"retval": {"type": b"Z"}},
460
+ )
461
+ r(b"SCStreamConfiguration", b"includeChildWindows", {"retval": {"type": b"Z"}})
462
+ r(
463
+ b"SCStreamConfiguration",
464
+ b"minimumFrameInterval",
465
+ {"retval": {"type": "{CMTime=qiIq}"}},
466
+ )
467
+ r(b"SCStreamConfiguration", b"preservesAspectRatio", {"retval": {"type": b"Z"}})
468
+ r(b"SCStreamConfiguration", b"scalesToFit", {"retval": {"type": b"Z"}})
469
+ r(
470
+ b"SCStreamConfiguration",
471
+ b"setCaptureMicrophone:",
472
+ {"arguments": {2: {"type": b"Z"}}},
473
+ )
474
+ r(
475
+ b"SCStreamConfiguration",
476
+ b"setCapturesAudio:",
477
+ {"arguments": {2: {"type": b"Z"}}},
478
+ )
479
+ r(
480
+ b"SCStreamConfiguration",
481
+ b"setCapturesShadowsOnly:",
482
+ {"arguments": {2: {"type": b"Z"}}},
483
+ )
484
+ r(
485
+ b"SCStreamConfiguration",
486
+ b"setExcludesCurrentProcessAudio:",
487
+ {"arguments": {2: {"type": b"Z"}}},
488
+ )
489
+ r(
490
+ b"SCStreamConfiguration",
491
+ b"setIgnoreGlobalClipDisplay:",
492
+ {"arguments": {2: {"type": b"Z"}}},
493
+ )
494
+ r(
495
+ b"SCStreamConfiguration",
496
+ b"setIgnoreGlobalClipSingleWindow:",
497
+ {"arguments": {2: {"type": b"Z"}}},
498
+ )
499
+ r(
500
+ b"SCStreamConfiguration",
501
+ b"setIgnoreShadowsDisplay:",
502
+ {"arguments": {2: {"type": b"Z"}}},
503
+ )
504
+ r(
505
+ b"SCStreamConfiguration",
506
+ b"setIgnoreShadowsSingleWindow:",
507
+ {"arguments": {2: {"type": b"Z"}}},
508
+ )
509
+ r(
510
+ b"SCStreamConfiguration",
511
+ b"setIncludeChildWindows:",
512
+ {"arguments": {2: {"type": b"Z"}}},
513
+ )
514
+ r(
515
+ b"SCStreamConfiguration",
516
+ b"setMinimumFrameInterval:",
517
+ {"arguments": {2: {"type": "{CMTime=qiIq}"}}},
518
+ )
519
+ r(
520
+ b"SCStreamConfiguration",
521
+ b"setPreservesAspectRatio:",
522
+ {"arguments": {2: {"type": b"Z"}}},
523
+ )
524
+ r(b"SCStreamConfiguration", b"setScalesToFit:", {"arguments": {2: {"type": b"Z"}}})
525
+ r(
526
+ b"SCStreamConfiguration",
527
+ b"setShouldBeOpaque:",
528
+ {"arguments": {2: {"type": b"Z"}}},
529
+ )
530
+ r(
531
+ b"SCStreamConfiguration",
532
+ b"setShowMouseClicks:",
533
+ {"arguments": {2: {"type": b"Z"}}},
534
+ )
535
+ r(b"SCStreamConfiguration", b"setShowsCursor:", {"arguments": {2: {"type": b"Z"}}})
536
+ r(b"SCStreamConfiguration", b"shouldBeOpaque", {"retval": {"type": b"Z"}})
537
+ r(b"SCStreamConfiguration", b"showMouseClicks", {"retval": {"type": b"Z"}})
538
+ r(b"SCStreamConfiguration", b"showsCursor", {"retval": {"type": b"Z"}})
539
+ r(b"SCWindow", b"isActive", {"retval": {"type": b"Z"}})
540
+ r(b"SCWindow", b"isOnScreen", {"retval": {"type": b"Z"}})
541
+ finally:
542
+ objc._updatingMetadata(False)
543
+
544
+ objc.registerNewKeywordsFromSelector(
545
+ "SCContentFilter", b"initWithDesktopIndependentWindow:"
546
+ )
547
+ objc.registerNewKeywordsFromSelector(
548
+ "SCContentFilter", b"initWithDisplay:excludingApplications:exceptingWindows:"
549
+ )
550
+ objc.registerNewKeywordsFromSelector(
551
+ "SCContentFilter", b"initWithDisplay:excludingWindows:"
552
+ )
553
+ objc.registerNewKeywordsFromSelector(
554
+ "SCContentFilter", b"initWithDisplay:includingApplications:exceptingWindows:"
555
+ )
556
+ objc.registerNewKeywordsFromSelector(
557
+ "SCContentFilter", b"initWithDisplay:includingWindows:"
558
+ )
559
+ objc.registerNewKeywordsFromSelector("SCContentSharingPicker", b"init")
560
+ objc.registerNewKeywordsFromSelector("SCDisplay", b"init")
561
+ objc.registerNewKeywordsFromSelector(
562
+ "SCRecordingOutput", b"initWithConfiguration:delegate:"
563
+ )
564
+ objc.registerNewKeywordsFromSelector("SCRunningApplication", b"init")
565
+ objc.registerNewKeywordsFromSelector("SCScreenshotManager", b"init")
566
+ objc.registerNewKeywordsFromSelector("SCShareableContent", b"init")
567
+ objc.registerNewKeywordsFromSelector("SCStream", b"init")
568
+ objc.registerNewKeywordsFromSelector(
569
+ "SCStream", b"initWithFilter:configuration:delegate:"
570
+ )
571
+ objc.registerNewKeywordsFromSelector("SCWindow", b"init")
572
+
573
+ objc.registerNewKeywords(
574
+ "SCStreamConfiguration", ("preset",), "streamConfigurationWithPreset_"
575
+ )
576
+ expressions = {}
577
+
578
+ # END OF FILE
@@ -0,0 +1,69 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyobjc-framework-ScreenCaptureKit
3
+ Version: 12.2
4
+ Summary: Wrappers for the framework ScreenCaptureKit on macOS
5
+ Home-page: https://github.com/ronaldoussoren/pyobjc
6
+ Author: Ronald Oussoren
7
+ Author-email: pyobjc-dev@lists.sourceforge.net
8
+ License: MIT
9
+ Keywords: PyObjC,ScreenCaptureKit
10
+ Platform: MacOS X (>=12.3)
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Natural Language :: English
16
+ Classifier: Operating System :: MacOS :: MacOS X
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Programming Language :: Python :: 3.15
26
+ Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
28
+ Classifier: Programming Language :: Objective C
29
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
+ Classifier: Topic :: Software Development :: User Interfaces
31
+ Requires-Python: >=3.10
32
+ Description-Content-Type: text/x-rst; charset=UTF-8
33
+ Requires-Dist: pyobjc-core>=12.2
34
+ Requires-Dist: pyobjc-framework-CoreMedia>=12.2
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.2
36
+ Dynamic: author
37
+ Dynamic: author-email
38
+ Dynamic: classifier
39
+ Dynamic: description
40
+ Dynamic: description-content-type
41
+ Dynamic: home-page
42
+ Dynamic: keywords
43
+ Dynamic: license
44
+ Dynamic: platform
45
+ Dynamic: requires-dist
46
+ Dynamic: requires-python
47
+ Dynamic: summary
48
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
49
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
50
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
51
+
52
+
53
+ Wrappers for the "ScreenCaptureKit" framework on macOS.
54
+
55
+ These wrappers don't include documentation, please check Apple's documentation
56
+ for information on how to use this framework and PyObjC's documentation
57
+ for general tips and tricks regarding the translation between Python
58
+ and (Objective-)C frameworks
59
+
60
+
61
+ Project links
62
+ -------------
63
+
64
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
65
+
66
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
67
+
68
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
69
+
@@ -0,0 +1,8 @@
1
+ ScreenCaptureKit/_ScreenCaptureKit.cpython-315-darwin.so,sha256=pkWpdREpvtxxxQsWXuTovOHq-bnERhZmTYMY32QuxAg,85704
2
+ ScreenCaptureKit/__init__.py,sha256=qhA0ELVKu4mUynYX2TLrOKVTill-KYZuB-1DaCNMLy0,1926
3
+ ScreenCaptureKit/_metadata.py,sha256=LCXEQ4LTdH_H7R1hWRFUXDULQXxiZ7jt2jgNP5SmgdY,20589
4
+ pyobjc_framework_screencapturekit-12.2.dist-info/METADATA,sha256=vccdvopbqXrGiBqFYuWtCrfeM4Q7lgb17zKFn_gRaAU,2580
5
+ pyobjc_framework_screencapturekit-12.2.dist-info/WHEEL,sha256=2M_SYDyM5rEsv_ln2yEuQGcyAVVUxLKyXAZ43VblWzk,115
6
+ pyobjc_framework_screencapturekit-12.2.dist-info/pyobjc-build-info.txt,sha256=Ri0Wl_rPog8K797Y9SwUgX2P5KgewvMu0uQOBhtk0lo,83
7
+ pyobjc_framework_screencapturekit-12.2.dist-info/top_level.txt,sha256=0p7LcTqLGS0eEZhKXDy19agwrnsrBZOa5dETQgy1190,17
8
+ pyobjc_framework_screencapturekit-12.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp315-cp315-macosx_10_15_universal2
5
+
@@ -0,0 +1,3 @@
1
+ macOS 26.5 (25F71)
2
+ Apple clang version 21.0.0 (clang-2100.1.1.101)
3
+ SDK: macOS 26.5
@@ -0,0 +1 @@
1
+ ScreenCaptureKit