pyobjc-framework-ScreenCaptureKit 10.3.2__cp313-cp313t-macosx_10_13_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.
- ScreenCaptureKit/_ScreenCaptureKit.cpython-313t-darwin.so +0 -0
- ScreenCaptureKit/__init__.py +62 -0
- ScreenCaptureKit/_metadata.py +435 -0
- pyobjc_framework_ScreenCaptureKit-10.3.2.dist-info/METADATA +57 -0
- pyobjc_framework_ScreenCaptureKit-10.3.2.dist-info/RECORD +7 -0
- pyobjc_framework_ScreenCaptureKit-10.3.2.dist-info/WHEEL +5 -0
- pyobjc_framework_ScreenCaptureKit-10.3.2.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -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,435 @@
|
|
|
1
|
+
# This file is generated by objective.metadata
|
|
2
|
+
#
|
|
3
|
+
# Last update: Sat May 18 09:36:08 2024
|
|
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$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$SCShareableContentStyleApplication@3$SCShareableContentStyleDisplay@2$SCShareableContentStyleNone@0$SCShareableContentStyleWindow@1$SCStreamErrorAttemptToConfigState@-3810$SCStreamErrorAttemptToStartStreamState@-3807$SCStreamErrorAttemptToStopStreamState@-3808$SCStreamErrorAttemptToUpdateFilterState@-3809$SCStreamErrorFailedApplicationConnectionInterrupted@-3805$SCStreamErrorFailedApplicationConnectionInvalid@-3804$SCStreamErrorFailedNoMatchingApplicationContext@-3806$SCStreamErrorFailedToStart@-3802$SCStreamErrorFailedToStartAudioCapture@-3818$SCStreamErrorFailedToStopAudioCapture@-3819$SCStreamErrorInternalError@-3811$SCStreamErrorInvalidParameter@-3812$SCStreamErrorMissingEntitlements@-3803$SCStreamErrorNoCaptureSource@-3815$SCStreamErrorNoDisplayList@-3814$SCStreamErrorNoWindowList@-3813$SCStreamErrorRemovingStream@-3816$SCStreamErrorUserDeclined@-3801$SCStreamErrorUserStopped@-3817$SCStreamOutputTypeAudio@1$SCStreamOutputTypeScreen@0$SCStreamTypeDisplay@1$SCStreamTypeWindow@0$"""
|
|
35
|
+
misc.update(
|
|
36
|
+
{
|
|
37
|
+
"SCCaptureResolutionType": NewType("SCCaptureResolutionType", int),
|
|
38
|
+
"SCContentSharingPickerMode": NewType("SCContentSharingPickerMode", int),
|
|
39
|
+
"SCPresenterOverlayAlertSetting": NewType(
|
|
40
|
+
"SCPresenterOverlayAlertSetting", int
|
|
41
|
+
),
|
|
42
|
+
"SCStreamErrorCode": NewType("SCStreamErrorCode", int),
|
|
43
|
+
"SCStreamType": NewType("SCStreamType", int),
|
|
44
|
+
"SCStreamOutputType": NewType("SCStreamOutputType", int),
|
|
45
|
+
"SCShareableContentStyle": NewType("SCShareableContentStyle", int),
|
|
46
|
+
"SCFrameStatus": NewType("SCFrameStatus", int),
|
|
47
|
+
}
|
|
48
|
+
)
|
|
49
|
+
misc.update({"SCStreamFrameInfo": NewType("SCStreamFrameInfo", str)})
|
|
50
|
+
misc.update({})
|
|
51
|
+
r = objc.registerMetaDataForSelector
|
|
52
|
+
objc._updatingMetadata(True)
|
|
53
|
+
try:
|
|
54
|
+
r(
|
|
55
|
+
b"NSObject",
|
|
56
|
+
b"contentSharingPicker:didCancelForStream:",
|
|
57
|
+
{
|
|
58
|
+
"required": True,
|
|
59
|
+
"retval": {"type": b"v"},
|
|
60
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
61
|
+
},
|
|
62
|
+
)
|
|
63
|
+
r(
|
|
64
|
+
b"NSObject",
|
|
65
|
+
b"contentSharingPicker:didUpdateWithFilter:forStream:",
|
|
66
|
+
{
|
|
67
|
+
"required": True,
|
|
68
|
+
"retval": {"type": b"v"},
|
|
69
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
70
|
+
},
|
|
71
|
+
)
|
|
72
|
+
r(
|
|
73
|
+
b"NSObject",
|
|
74
|
+
b"contentSharingPickerStartDidFailWithError:",
|
|
75
|
+
{"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
76
|
+
)
|
|
77
|
+
r(
|
|
78
|
+
b"NSObject",
|
|
79
|
+
b"outputVideoEffectDidStartForStream:",
|
|
80
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
81
|
+
)
|
|
82
|
+
r(
|
|
83
|
+
b"NSObject",
|
|
84
|
+
b"outputVideoEffectDidStopForStream:",
|
|
85
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
86
|
+
)
|
|
87
|
+
r(
|
|
88
|
+
b"NSObject",
|
|
89
|
+
b"stream:didOutputSampleBuffer:ofType:",
|
|
90
|
+
{
|
|
91
|
+
"required": False,
|
|
92
|
+
"retval": {"type": b"v"},
|
|
93
|
+
"arguments": {
|
|
94
|
+
2: {"type": b"@"},
|
|
95
|
+
3: {"type": b"^{opaqueCMSampleBuffer=}"},
|
|
96
|
+
4: {"type": b"q"},
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
)
|
|
100
|
+
r(
|
|
101
|
+
b"NSObject",
|
|
102
|
+
b"stream:didStopWithError:",
|
|
103
|
+
{
|
|
104
|
+
"required": False,
|
|
105
|
+
"retval": {"type": b"v"},
|
|
106
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
107
|
+
},
|
|
108
|
+
)
|
|
109
|
+
r(
|
|
110
|
+
b"NSObject",
|
|
111
|
+
b"userDidStopStream:",
|
|
112
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
113
|
+
)
|
|
114
|
+
r(b"SCContentFilter", b"includeMenuBar", {"retval": {"type": b"Z"}})
|
|
115
|
+
r(b"SCContentFilter", b"setIncludeMenuBar:", {"arguments": {2: {"type": b"Z"}}})
|
|
116
|
+
r(b"SCContentSharingPicker", b"isActive", {"retval": {"type": b"Z"}})
|
|
117
|
+
r(b"SCContentSharingPicker", b"setActive:", {"arguments": {2: {"type": b"Z"}}})
|
|
118
|
+
r(
|
|
119
|
+
b"SCContentSharingPickerConfiguration",
|
|
120
|
+
b"allowsChangingSelectedContent",
|
|
121
|
+
{"retval": {"type": b"Z"}},
|
|
122
|
+
)
|
|
123
|
+
r(
|
|
124
|
+
b"SCContentSharingPickerConfiguration",
|
|
125
|
+
b"setAllowsChangingSelectedContent:",
|
|
126
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
127
|
+
)
|
|
128
|
+
r(
|
|
129
|
+
b"SCScreenshotManager",
|
|
130
|
+
b"captureImageWithFilter:configuration:completionHandler:",
|
|
131
|
+
{
|
|
132
|
+
"arguments": {
|
|
133
|
+
4: {
|
|
134
|
+
"callable": {
|
|
135
|
+
"retval": {"type": b"v"},
|
|
136
|
+
"arguments": {
|
|
137
|
+
0: {"type": b"^v"},
|
|
138
|
+
1: {"type": b"^{CGImage=}"},
|
|
139
|
+
2: {"type": b"@"},
|
|
140
|
+
},
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
)
|
|
146
|
+
r(
|
|
147
|
+
b"SCScreenshotManager",
|
|
148
|
+
b"captureSampleBufferWithFilter:configuration:completionHandler:",
|
|
149
|
+
{
|
|
150
|
+
"arguments": {
|
|
151
|
+
4: {
|
|
152
|
+
"callable": {
|
|
153
|
+
"retval": {"type": b"v"},
|
|
154
|
+
"arguments": {
|
|
155
|
+
0: {"type": b"^v"},
|
|
156
|
+
1: {"type": b"^{opaqueCMSampleBuffer=}"},
|
|
157
|
+
2: {"type": b"@"},
|
|
158
|
+
},
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
)
|
|
164
|
+
r(
|
|
165
|
+
b"SCShareableContent",
|
|
166
|
+
b"getCurrentProcessShareableContentWithCompletionHandler:",
|
|
167
|
+
{
|
|
168
|
+
"arguments": {
|
|
169
|
+
2: {
|
|
170
|
+
"callable": {
|
|
171
|
+
"retval": {"type": b"v"},
|
|
172
|
+
"arguments": {
|
|
173
|
+
0: {"type": b"^v"},
|
|
174
|
+
1: {"type": b"@"},
|
|
175
|
+
2: {"type": b"@"},
|
|
176
|
+
},
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
)
|
|
182
|
+
r(
|
|
183
|
+
b"SCShareableContent",
|
|
184
|
+
b"getShareableContentExcludingDesktopWindows:onScreenWindowsOnly:completionHandler:",
|
|
185
|
+
{
|
|
186
|
+
"arguments": {
|
|
187
|
+
2: {"type": b"Z"},
|
|
188
|
+
3: {"type": b"Z"},
|
|
189
|
+
4: {
|
|
190
|
+
"callable": {
|
|
191
|
+
"retval": {"type": b"v"},
|
|
192
|
+
"arguments": {
|
|
193
|
+
0: {"type": b"^v"},
|
|
194
|
+
1: {"type": b"@"},
|
|
195
|
+
2: {"type": b"@"},
|
|
196
|
+
},
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
)
|
|
202
|
+
r(
|
|
203
|
+
b"SCShareableContent",
|
|
204
|
+
b"getShareableContentExcludingDesktopWindows:onScreenWindowsOnlyAboveWindow:completionHandler:",
|
|
205
|
+
{
|
|
206
|
+
"arguments": {
|
|
207
|
+
2: {"type": b"Z"},
|
|
208
|
+
4: {
|
|
209
|
+
"callable": {
|
|
210
|
+
"retval": {"type": b"v"},
|
|
211
|
+
"arguments": {
|
|
212
|
+
0: {"type": b"^v"},
|
|
213
|
+
1: {"type": b"@"},
|
|
214
|
+
2: {"type": b"@"},
|
|
215
|
+
},
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
)
|
|
221
|
+
r(
|
|
222
|
+
b"SCShareableContent",
|
|
223
|
+
b"getShareableContentExcludingDesktopWindows:onScreenWindowsOnlyBelowWindow:completionHandler:",
|
|
224
|
+
{
|
|
225
|
+
"arguments": {
|
|
226
|
+
2: {"type": b"Z"},
|
|
227
|
+
4: {
|
|
228
|
+
"callable": {
|
|
229
|
+
"retval": {"type": b"v"},
|
|
230
|
+
"arguments": {
|
|
231
|
+
0: {"type": b"^v"},
|
|
232
|
+
1: {"type": b"@"},
|
|
233
|
+
2: {"type": b"@"},
|
|
234
|
+
},
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
)
|
|
240
|
+
r(
|
|
241
|
+
b"SCShareableContent",
|
|
242
|
+
b"getShareableContentWithCompletionHandler:",
|
|
243
|
+
{
|
|
244
|
+
"arguments": {
|
|
245
|
+
2: {
|
|
246
|
+
"callable": {
|
|
247
|
+
"retval": {"type": b"v"},
|
|
248
|
+
"arguments": {
|
|
249
|
+
0: {"type": b"^v"},
|
|
250
|
+
1: {"type": b"@"},
|
|
251
|
+
2: {"type": b"@"},
|
|
252
|
+
},
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
)
|
|
258
|
+
r(
|
|
259
|
+
b"SCStream",
|
|
260
|
+
b"addStreamOutput:type:sampleHandlerQueue:error:",
|
|
261
|
+
{"retval": {"type": b"Z"}, "arguments": {5: {"type_modifier": b"o"}}},
|
|
262
|
+
)
|
|
263
|
+
r(
|
|
264
|
+
b"SCStream",
|
|
265
|
+
b"removeStreamOutput:type:error:",
|
|
266
|
+
{"retval": {"type": b"Z"}, "arguments": {4: {"type_modifier": b"o"}}},
|
|
267
|
+
)
|
|
268
|
+
r(
|
|
269
|
+
b"SCStream",
|
|
270
|
+
b"startCaptureWithCompletionHandler:",
|
|
271
|
+
{
|
|
272
|
+
"arguments": {
|
|
273
|
+
2: {
|
|
274
|
+
"callable": {
|
|
275
|
+
"retval": {"type": b"v"},
|
|
276
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
)
|
|
282
|
+
r(
|
|
283
|
+
b"SCStream",
|
|
284
|
+
b"stopCaptureWithCompletionHandler:",
|
|
285
|
+
{
|
|
286
|
+
"arguments": {
|
|
287
|
+
2: {
|
|
288
|
+
"callable": {
|
|
289
|
+
"retval": {"type": b"v"},
|
|
290
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
)
|
|
296
|
+
r(
|
|
297
|
+
b"SCStream",
|
|
298
|
+
b"updateConfiguration:completionHandler:",
|
|
299
|
+
{
|
|
300
|
+
"arguments": {
|
|
301
|
+
3: {
|
|
302
|
+
"callable": {
|
|
303
|
+
"retval": {"type": b"v"},
|
|
304
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
)
|
|
310
|
+
r(
|
|
311
|
+
b"SCStream",
|
|
312
|
+
b"updateContentFilter:completionHandler:",
|
|
313
|
+
{
|
|
314
|
+
"arguments": {
|
|
315
|
+
3: {
|
|
316
|
+
"callable": {
|
|
317
|
+
"retval": {"type": b"v"},
|
|
318
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
)
|
|
324
|
+
r(b"SCStreamConfiguration", b"capturesAudio", {"retval": {"type": b"Z"}})
|
|
325
|
+
r(b"SCStreamConfiguration", b"capturesShadowsOnly", {"retval": {"type": b"Z"}})
|
|
326
|
+
r(
|
|
327
|
+
b"SCStreamConfiguration",
|
|
328
|
+
b"excludesCurrentProcessAudio",
|
|
329
|
+
{"retval": {"type": b"Z"}},
|
|
330
|
+
)
|
|
331
|
+
r(b"SCStreamConfiguration", b"ignoreGlobalClipDisplay", {"retval": {"type": b"Z"}})
|
|
332
|
+
r(
|
|
333
|
+
b"SCStreamConfiguration",
|
|
334
|
+
b"ignoreGlobalClipSingleWindow",
|
|
335
|
+
{"retval": {"type": b"Z"}},
|
|
336
|
+
)
|
|
337
|
+
r(b"SCStreamConfiguration", b"ignoreShadowsDisplay", {"retval": {"type": b"Z"}})
|
|
338
|
+
r(
|
|
339
|
+
b"SCStreamConfiguration",
|
|
340
|
+
b"ignoreShadowsSingleWindow",
|
|
341
|
+
{"retval": {"type": b"Z"}},
|
|
342
|
+
)
|
|
343
|
+
r(b"SCStreamConfiguration", b"includeChildWindows", {"retval": {"type": b"Z"}})
|
|
344
|
+
r(
|
|
345
|
+
b"SCStreamConfiguration",
|
|
346
|
+
b"minimumFrameInterval",
|
|
347
|
+
{"retval": {"type": b"{_CMTime=qiIq}"}},
|
|
348
|
+
)
|
|
349
|
+
r(b"SCStreamConfiguration", b"preservesAspectRatio", {"retval": {"type": b"Z"}})
|
|
350
|
+
r(b"SCStreamConfiguration", b"scalesToFit", {"retval": {"type": b"Z"}})
|
|
351
|
+
r(
|
|
352
|
+
b"SCStreamConfiguration",
|
|
353
|
+
b"setCapturesAudio:",
|
|
354
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
355
|
+
)
|
|
356
|
+
r(
|
|
357
|
+
b"SCStreamConfiguration",
|
|
358
|
+
b"setCapturesShadowsOnly:",
|
|
359
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
360
|
+
)
|
|
361
|
+
r(
|
|
362
|
+
b"SCStreamConfiguration",
|
|
363
|
+
b"setExcludesCurrentProcessAudio:",
|
|
364
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
365
|
+
)
|
|
366
|
+
r(
|
|
367
|
+
b"SCStreamConfiguration",
|
|
368
|
+
b"setIgnoreGlobalClipDisplay:",
|
|
369
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
370
|
+
)
|
|
371
|
+
r(
|
|
372
|
+
b"SCStreamConfiguration",
|
|
373
|
+
b"setIgnoreGlobalClipSingleWindow:",
|
|
374
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
375
|
+
)
|
|
376
|
+
r(
|
|
377
|
+
b"SCStreamConfiguration",
|
|
378
|
+
b"setIgnoreShadowsDisplay:",
|
|
379
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
380
|
+
)
|
|
381
|
+
r(
|
|
382
|
+
b"SCStreamConfiguration",
|
|
383
|
+
b"setIgnoreShadowsSingleWindow:",
|
|
384
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
385
|
+
)
|
|
386
|
+
r(
|
|
387
|
+
b"SCStreamConfiguration",
|
|
388
|
+
b"setIncludeChildWindows:",
|
|
389
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
390
|
+
)
|
|
391
|
+
r(
|
|
392
|
+
b"SCStreamConfiguration",
|
|
393
|
+
b"setMinimumFrameInterval:",
|
|
394
|
+
{"arguments": {2: {"type": b"{_CMTime=qiIq}"}}},
|
|
395
|
+
)
|
|
396
|
+
r(
|
|
397
|
+
b"SCStreamConfiguration",
|
|
398
|
+
b"setPreservesAspectRatio:",
|
|
399
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
400
|
+
)
|
|
401
|
+
r(b"SCStreamConfiguration", b"setScalesToFit:", {"arguments": {2: {"type": b"Z"}}})
|
|
402
|
+
r(
|
|
403
|
+
b"SCStreamConfiguration",
|
|
404
|
+
b"setShouldBeOpaque:",
|
|
405
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
406
|
+
)
|
|
407
|
+
r(b"SCStreamConfiguration", b"setShowsCursor:", {"arguments": {2: {"type": b"Z"}}})
|
|
408
|
+
r(b"SCStreamConfiguration", b"shouldBeOpaque", {"retval": {"type": b"Z"}})
|
|
409
|
+
r(b"SCStreamConfiguration", b"showsCursor", {"retval": {"type": b"Z"}})
|
|
410
|
+
r(b"SCWindow", b"isActive", {"retval": {"type": b"Z"}})
|
|
411
|
+
r(b"SCWindow", b"isOnScreen", {"retval": {"type": b"Z"}})
|
|
412
|
+
finally:
|
|
413
|
+
objc._updatingMetadata(False)
|
|
414
|
+
|
|
415
|
+
objc.registerNewKeywordsFromSelector(
|
|
416
|
+
"SCContentFilter", b"initWithDesktopIndependentWindow:"
|
|
417
|
+
)
|
|
418
|
+
objc.registerNewKeywordsFromSelector(
|
|
419
|
+
"SCContentFilter", b"initWithDisplay:excludingApplications:exceptingWindows:"
|
|
420
|
+
)
|
|
421
|
+
objc.registerNewKeywordsFromSelector(
|
|
422
|
+
"SCContentFilter", b"initWithDisplay:excludingWindows:"
|
|
423
|
+
)
|
|
424
|
+
objc.registerNewKeywordsFromSelector(
|
|
425
|
+
"SCContentFilter", b"initWithDisplay:includingApplications:exceptingWindows:"
|
|
426
|
+
)
|
|
427
|
+
objc.registerNewKeywordsFromSelector(
|
|
428
|
+
"SCContentFilter", b"initWithDisplay:includingWindows:"
|
|
429
|
+
)
|
|
430
|
+
objc.registerNewKeywordsFromSelector(
|
|
431
|
+
"SCStream", b"initWithFilter:configuration:delegate:"
|
|
432
|
+
)
|
|
433
|
+
expressions = {}
|
|
434
|
+
|
|
435
|
+
# END OF FILE
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: pyobjc-framework-ScreenCaptureKit
|
|
3
|
+
Version: 10.3.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 License
|
|
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: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Natural Language :: English
|
|
17
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
18
|
+
Classifier: Programming Language :: Python
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
27
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
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.8
|
|
32
|
+
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
+
Requires-Dist: pyobjc-core>=10.3.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-CoreMedia>=10.3.2
|
|
35
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10.3.2
|
|
36
|
+
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
37
|
+
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
38
|
+
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
Wrappers for the "ScreenCaptureKit" framework on macOS.
|
|
42
|
+
|
|
43
|
+
These wrappers don't include documentation, please check Apple's documentation
|
|
44
|
+
for information on how to use this framework and PyObjC's documentation
|
|
45
|
+
for general tips and tricks regarding the translation between Python
|
|
46
|
+
and (Objective-)C frameworks
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
Project links
|
|
50
|
+
-------------
|
|
51
|
+
|
|
52
|
+
* `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
|
|
53
|
+
|
|
54
|
+
* `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
|
|
55
|
+
|
|
56
|
+
* `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
|
|
57
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
ScreenCaptureKit/_ScreenCaptureKit.cpython-313t-darwin.so,sha256=iwkzJ1-_ASI0OpwjulpuwG6KOyO9G32mmKkWHlza4GI,69144
|
|
2
|
+
ScreenCaptureKit/__init__.py,sha256=qhA0ELVKu4mUynYX2TLrOKVTill-KYZuB-1DaCNMLy0,1926
|
|
3
|
+
ScreenCaptureKit/_metadata.py,sha256=jLdkKWhlABj4_NmiWzS6aQTFhe1Rs5LcX0qaUA0jkSQ,14948
|
|
4
|
+
pyobjc_framework_ScreenCaptureKit-10.3.2.dist-info/METADATA,sha256=FhfYLLRhU8Kxje7xdwmDYcuzK-DszyeQd6Uk7xn3IhU,2319
|
|
5
|
+
pyobjc_framework_ScreenCaptureKit-10.3.2.dist-info/WHEEL,sha256=XjtjjmgeqVAP8nJhv4oiI8QkipRAek_0YAWGDzOQ9vs,116
|
|
6
|
+
pyobjc_framework_ScreenCaptureKit-10.3.2.dist-info/top_level.txt,sha256=0p7LcTqLGS0eEZhKXDy19agwrnsrBZOa5dETQgy1190,17
|
|
7
|
+
pyobjc_framework_ScreenCaptureKit-10.3.2.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ScreenCaptureKit
|