pyobjc-framework-AVKit 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.
- AVKit/_AVKit.cpython-315-darwin.so +0 -0
- AVKit/__init__.py +45 -0
- AVKit/_metadata.py +480 -0
- pyobjc_framework_avkit-12.2.dist-info/METADATA +69 -0
- pyobjc_framework_avkit-12.2.dist-info/RECORD +8 -0
- pyobjc_framework_avkit-12.2.dist-info/WHEEL +5 -0
- pyobjc_framework_avkit-12.2.dist-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_avkit-12.2.dist-info/top_level.txt +1 -0
|
Binary file
|
AVKit/__init__.py
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the AddressBook 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 Cocoa
|
|
13
|
+
import Quartz
|
|
14
|
+
import objc
|
|
15
|
+
from . import _AVKit, _metadata
|
|
16
|
+
|
|
17
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
18
|
+
name="AVKit",
|
|
19
|
+
frameworkIdentifier="com.apple.AVKit",
|
|
20
|
+
frameworkPath=objc.pathForFramework(
|
|
21
|
+
"/System/Library/Frameworks/AVKit.framework"
|
|
22
|
+
),
|
|
23
|
+
globals_dict=globals(),
|
|
24
|
+
inline_list=None,
|
|
25
|
+
parents=(_AVKit, Cocoa, Quartz),
|
|
26
|
+
metadict=_metadata.__dict__,
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
globals()["__dir__"] = dir_func
|
|
30
|
+
globals()["__getattr__"] = getattr_func
|
|
31
|
+
|
|
32
|
+
for cls, sel in (
|
|
33
|
+
("AVPictureInPictureControllerContentSource", b"init"),
|
|
34
|
+
("AVPictureInPictureControllerContentSource", b"new"),
|
|
35
|
+
("AVPlaybackSpeed", b"init"),
|
|
36
|
+
("AVPlaybackSpeed", b"new"),
|
|
37
|
+
("AVLegibleMediaOptionsMenuController", b"init"),
|
|
38
|
+
("AVLegibleMediaOptionsMenuController", b"new"),
|
|
39
|
+
):
|
|
40
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
41
|
+
|
|
42
|
+
del sys.modules["AVKit._metadata"]
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
globals().pop("_setup")()
|
AVKit/_metadata.py
ADDED
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
# This file is generated by objective.metadata
|
|
2
|
+
#
|
|
3
|
+
# Last update: Tue May 26 19:33:41 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
|
+
misc.update(
|
|
34
|
+
{
|
|
35
|
+
"AVLegibleMediaOptionsMenuState": objc.createStructType(
|
|
36
|
+
"AVKit.AVLegibleMediaOptionsMenuState",
|
|
37
|
+
b"{AVLegibleMediaOptionsMenuState=Zq}",
|
|
38
|
+
["enabled", "reason"],
|
|
39
|
+
)
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
constants = """$$"""
|
|
43
|
+
enums = """$AVCaptureViewControlsStyleDefault@0$AVCaptureViewControlsStyleFloating@1$AVCaptureViewControlsStyleInline@0$AVCaptureViewControlsStyleInlineDeviceSelection@2$AVDisplayDynamicRangeAutomatic@0$AVDisplayDynamicRangeConstrainedHigh@2$AVDisplayDynamicRangeHigh@3$AVDisplayDynamicRangeStandard@1$AVLegibleMediaOptionsMenuContentsAll@3$AVLegibleMediaOptionsMenuContentsCaptionAppearance@2$AVLegibleMediaOptionsMenuContentsLegible@1$AVLegibleMediaOptionsMenuStateChangeReasonLanguageMismatch@1$AVLegibleMediaOptionsMenuStateChangeReasonNone@0$AVLegibleMediaOptionsMenuTypeCaptionAppearance@1$AVLegibleMediaOptionsMenuTypeDefault@0$AVPlayerViewControlsStyleDefault@1$AVPlayerViewControlsStyleFloating@2$AVPlayerViewControlsStyleInline@1$AVPlayerViewControlsStyleMinimal@3$AVPlayerViewControlsStyleNone@0$AVPlayerViewTrimCancelButton@1$AVPlayerViewTrimOKButton@0$AVRoutePickerViewButtonStateActive@2$AVRoutePickerViewButtonStateActiveHighlighted@3$AVRoutePickerViewButtonStateNormal@0$AVRoutePickerViewButtonStateNormalHighlighted@1$AVRoutePickerViewButtonStyleCustom@2$AVRoutePickerViewButtonStylePlain@1$AVRoutePickerViewButtonStyleSystem@0$AVVideoFrameAnalysisTypeDefault@1$AVVideoFrameAnalysisTypeMachineReadableCode@16$AVVideoFrameAnalysisTypeNone@0$AVVideoFrameAnalysisTypeSubject@4$AVVideoFrameAnalysisTypeText@2$AVVideoFrameAnalysisTypeVisualSearch@8$"""
|
|
44
|
+
misc.update(
|
|
45
|
+
{
|
|
46
|
+
"AVCaptureViewControlsStyle": NewType("AVCaptureViewControlsStyle", int),
|
|
47
|
+
"AVVideoFrameAnalysisType": NewType("AVVideoFrameAnalysisType", int),
|
|
48
|
+
"AVRoutePickerViewButtonStyle": NewType("AVRoutePickerViewButtonStyle", int),
|
|
49
|
+
"AVLegibleMediaOptionsMenuContents": NewType(
|
|
50
|
+
"AVLegibleMediaOptionsMenuContents", int
|
|
51
|
+
),
|
|
52
|
+
"AVRoutePickerViewButtonState": NewType("AVRoutePickerViewButtonState", int),
|
|
53
|
+
"AVLegibleMediaOptionsMenuType": NewType("AVLegibleMediaOptionsMenuType", int),
|
|
54
|
+
"AVLegibleMediaOptionsMenuStateChangeReason": NewType(
|
|
55
|
+
"AVLegibleMediaOptionsMenuStateChangeReason", int
|
|
56
|
+
),
|
|
57
|
+
"AVPlayerViewControlsStyle": NewType("AVPlayerViewControlsStyle", int),
|
|
58
|
+
"AVPlayerViewTrimResult": NewType("AVPlayerViewTrimResult", int),
|
|
59
|
+
"AVDisplayDynamicRange": NewType("AVDisplayDynamicRange", int),
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
misc.update({})
|
|
63
|
+
misc.update({})
|
|
64
|
+
aliases = {
|
|
65
|
+
"AVKIT_EXCLUDE_VISION_OS_EXTERN": "AVKIT_EXTERN",
|
|
66
|
+
"AVKitPlatformViewClass": "NSView",
|
|
67
|
+
"AVPlayerViewControlsStyleDefault": "AVPlayerViewControlsStyleInline",
|
|
68
|
+
"AVKitPlatformColorClass": "NSColor",
|
|
69
|
+
"AVCaptureViewControlsStyleDefault": "AVCaptureViewControlsStyleInline",
|
|
70
|
+
"AVKIT_ONLY_EXTERN": "AVKIT_EXTERN",
|
|
71
|
+
"AVKitPlatformFontClass": "NSFont",
|
|
72
|
+
}
|
|
73
|
+
r = objc.registerMetaDataForSelector
|
|
74
|
+
objc._updatingMetadata(True)
|
|
75
|
+
try:
|
|
76
|
+
r(
|
|
77
|
+
b"AVCaptureView",
|
|
78
|
+
b"setSession:showVideoPreview:showAudioPreview:",
|
|
79
|
+
{"arguments": {3: {"type": b"Z"}, 4: {"type": b"Z"}}},
|
|
80
|
+
)
|
|
81
|
+
r(
|
|
82
|
+
b"AVLegibleMediaOptionsMenuController",
|
|
83
|
+
b"menuState",
|
|
84
|
+
{"retval": {"type": b"{AVLegibleMediaOptionsMenuState=Zq}"}},
|
|
85
|
+
)
|
|
86
|
+
r(
|
|
87
|
+
b"AVPictureInPictureController",
|
|
88
|
+
b"canStartPictureInPictureAutomaticallyFromInline",
|
|
89
|
+
{"retval": {"type": b"Z"}},
|
|
90
|
+
)
|
|
91
|
+
r(
|
|
92
|
+
b"AVPictureInPictureController",
|
|
93
|
+
b"canStopPictureInPicture",
|
|
94
|
+
{"retval": {"type": "Z"}},
|
|
95
|
+
)
|
|
96
|
+
r(
|
|
97
|
+
b"AVPictureInPictureController",
|
|
98
|
+
b"isPictureInPictureActive",
|
|
99
|
+
{"retval": {"type": b"Z"}},
|
|
100
|
+
)
|
|
101
|
+
r(
|
|
102
|
+
b"AVPictureInPictureController",
|
|
103
|
+
b"isPictureInPicturePossible",
|
|
104
|
+
{"retval": {"type": b"Z"}},
|
|
105
|
+
)
|
|
106
|
+
r(
|
|
107
|
+
b"AVPictureInPictureController",
|
|
108
|
+
b"isPictureInPictureSupported",
|
|
109
|
+
{"retval": {"type": b"Z"}},
|
|
110
|
+
)
|
|
111
|
+
r(
|
|
112
|
+
b"AVPictureInPictureController",
|
|
113
|
+
b"isPictureInPictureSuspended",
|
|
114
|
+
{"retval": {"type": b"Z"}},
|
|
115
|
+
)
|
|
116
|
+
r(
|
|
117
|
+
b"AVPictureInPictureController",
|
|
118
|
+
b"requiresLinearPlayback",
|
|
119
|
+
{"retval": {"type": b"Z"}},
|
|
120
|
+
)
|
|
121
|
+
r(
|
|
122
|
+
b"AVPictureInPictureController",
|
|
123
|
+
b"setCanStartPictureInPictureAutomaticallyFromInline:",
|
|
124
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
125
|
+
)
|
|
126
|
+
r(
|
|
127
|
+
b"AVPictureInPictureController",
|
|
128
|
+
b"setRequiresLinearPlayback:",
|
|
129
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
130
|
+
)
|
|
131
|
+
r(b"AVPlayerView", b"allowsMagnification", {"retval": {"type": b"Z"}})
|
|
132
|
+
r(b"AVPlayerView", b"allowsPictureInPicturePlayback", {"retval": {"type": b"Z"}})
|
|
133
|
+
r(b"AVPlayerView", b"allowsVideoFrameAnalysis", {"retval": {"type": b"Z"}})
|
|
134
|
+
r(
|
|
135
|
+
b"AVPlayerView",
|
|
136
|
+
b"beginTrimmingWithCompletionHandler:",
|
|
137
|
+
{
|
|
138
|
+
"arguments": {
|
|
139
|
+
2: {
|
|
140
|
+
"callable": {
|
|
141
|
+
"retval": {"type": b"v"},
|
|
142
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"q"}},
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
)
|
|
148
|
+
r(b"AVPlayerView", b"canBeginTrimming", {"retval": {"type": b"Z"}})
|
|
149
|
+
r(b"AVPlayerView", b"isReadyForDisplay", {"retval": {"type": b"Z"}})
|
|
150
|
+
r(b"AVPlayerView", b"setAllowsMagnification:", {"arguments": {2: {"type": b"Z"}}})
|
|
151
|
+
r(
|
|
152
|
+
b"AVPlayerView",
|
|
153
|
+
b"setAllowsPictureInPicturePlayback:",
|
|
154
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
155
|
+
)
|
|
156
|
+
r(
|
|
157
|
+
b"AVPlayerView",
|
|
158
|
+
b"setAllowsVideoFrameAnalysis:",
|
|
159
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
160
|
+
)
|
|
161
|
+
r(
|
|
162
|
+
b"AVPlayerView",
|
|
163
|
+
b"setShowsFrameSteppingButtons:",
|
|
164
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
165
|
+
)
|
|
166
|
+
r(
|
|
167
|
+
b"AVPlayerView",
|
|
168
|
+
b"setShowsFullScreenToggleButton:",
|
|
169
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
170
|
+
)
|
|
171
|
+
r(
|
|
172
|
+
b"AVPlayerView",
|
|
173
|
+
b"setShowsSharingServiceButton:",
|
|
174
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
175
|
+
)
|
|
176
|
+
r(b"AVPlayerView", b"setShowsTimecodes:", {"arguments": {2: {"type": b"Z"}}})
|
|
177
|
+
r(
|
|
178
|
+
b"AVPlayerView",
|
|
179
|
+
b"setUpdatesNowPlayingInfoCenter:",
|
|
180
|
+
{"arguments": {2: {"type": "Z"}}},
|
|
181
|
+
)
|
|
182
|
+
r(b"AVPlayerView", b"showsFrameSteppingButtons", {"retval": {"type": b"Z"}})
|
|
183
|
+
r(b"AVPlayerView", b"showsFullScreenToggleButton", {"retval": {"type": b"Z"}})
|
|
184
|
+
r(b"AVPlayerView", b"showsSharingServiceButton", {"retval": {"type": b"Z"}})
|
|
185
|
+
r(b"AVPlayerView", b"showsTimecodes", {"retval": {"type": b"Z"}})
|
|
186
|
+
r(b"AVPlayerView", b"updatesNowPlayingInfoCenter", {"retval": {"type": "Z"}})
|
|
187
|
+
r(b"AVRoutePickerView", b"isRoutePickerButtonBordered", {"retval": {"type": "Z"}})
|
|
188
|
+
r(b"AVRoutePickerView", b"prioritizesVideoDevices", {"retval": {"type": b"Z"}})
|
|
189
|
+
r(
|
|
190
|
+
b"AVRoutePickerView",
|
|
191
|
+
b"setPrioritizesVideoDevices:",
|
|
192
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
193
|
+
)
|
|
194
|
+
r(
|
|
195
|
+
b"AVRoutePickerView",
|
|
196
|
+
b"setRoutePickerButtonBordered:",
|
|
197
|
+
{"arguments": {2: {"type": "Z"}}},
|
|
198
|
+
)
|
|
199
|
+
r(
|
|
200
|
+
b"NSObject",
|
|
201
|
+
b"captureView:startRecordingToFileOutput:",
|
|
202
|
+
{
|
|
203
|
+
"required": True,
|
|
204
|
+
"retval": {"type": b"v"},
|
|
205
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
206
|
+
},
|
|
207
|
+
)
|
|
208
|
+
r(
|
|
209
|
+
b"NSObject",
|
|
210
|
+
b"legibleMenuController:didChangeMenuState:",
|
|
211
|
+
{
|
|
212
|
+
"required": False,
|
|
213
|
+
"retval": {"type": b"v"},
|
|
214
|
+
"arguments": {
|
|
215
|
+
2: {"type": b"@"},
|
|
216
|
+
3: {"type": b"{AVLegibleMediaOptionsMenuState=Zq}"},
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
)
|
|
220
|
+
r(
|
|
221
|
+
b"NSObject",
|
|
222
|
+
b"legibleMenuController:didRequestCaptionPreviewForProfileID:",
|
|
223
|
+
{
|
|
224
|
+
"required": False,
|
|
225
|
+
"retval": {"type": b"v"},
|
|
226
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
227
|
+
},
|
|
228
|
+
)
|
|
229
|
+
r(
|
|
230
|
+
b"NSObject",
|
|
231
|
+
b"legibleMenuControllerDidRequestStoppingSubtitleCaptionPreview:",
|
|
232
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
233
|
+
)
|
|
234
|
+
r(
|
|
235
|
+
b"NSObject",
|
|
236
|
+
b"pictureInPictureController:didTransitionToRenderSize:",
|
|
237
|
+
{
|
|
238
|
+
"required": True,
|
|
239
|
+
"retval": {"type": b"v"},
|
|
240
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"{CMVideoDimensions=ii}"}},
|
|
241
|
+
},
|
|
242
|
+
)
|
|
243
|
+
r(
|
|
244
|
+
b"NSObject",
|
|
245
|
+
b"pictureInPictureController:failedToStartPictureInPictureWithError:",
|
|
246
|
+
{
|
|
247
|
+
"required": False,
|
|
248
|
+
"retval": {"type": b"v"},
|
|
249
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
250
|
+
},
|
|
251
|
+
)
|
|
252
|
+
r(
|
|
253
|
+
b"NSObject",
|
|
254
|
+
b"pictureInPictureController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:",
|
|
255
|
+
{
|
|
256
|
+
"required": False,
|
|
257
|
+
"retval": {"type": b"v"},
|
|
258
|
+
"arguments": {
|
|
259
|
+
2: {"type": b"@"},
|
|
260
|
+
3: {
|
|
261
|
+
"callable": {
|
|
262
|
+
"retval": {"type": b"v"},
|
|
263
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"Z"}},
|
|
264
|
+
},
|
|
265
|
+
"type": b"@?",
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
)
|
|
270
|
+
r(
|
|
271
|
+
b"NSObject",
|
|
272
|
+
b"pictureInPictureController:setPlaying:",
|
|
273
|
+
{
|
|
274
|
+
"required": True,
|
|
275
|
+
"retval": {"type": b"v"},
|
|
276
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"Z"}},
|
|
277
|
+
},
|
|
278
|
+
)
|
|
279
|
+
r(
|
|
280
|
+
b"NSObject",
|
|
281
|
+
b"pictureInPictureController:skipByInterval:completionHandler:",
|
|
282
|
+
{
|
|
283
|
+
"required": True,
|
|
284
|
+
"retval": {"type": b"v"},
|
|
285
|
+
"arguments": {
|
|
286
|
+
2: {"type": b"@"},
|
|
287
|
+
3: {"type": b"{CMTime=qiIq}"},
|
|
288
|
+
4: {
|
|
289
|
+
"callable": {
|
|
290
|
+
"retval": {"type": b"v"},
|
|
291
|
+
"arguments": {0: {"type": b"^v"}},
|
|
292
|
+
},
|
|
293
|
+
"type": b"@?",
|
|
294
|
+
},
|
|
295
|
+
},
|
|
296
|
+
},
|
|
297
|
+
)
|
|
298
|
+
r(
|
|
299
|
+
b"NSObject",
|
|
300
|
+
b"pictureInPictureController:skipInterval:completionHandler:",
|
|
301
|
+
{
|
|
302
|
+
"arguments": {
|
|
303
|
+
3: {"type": "{CMTime=qiIq}"},
|
|
304
|
+
4: {
|
|
305
|
+
"callable": {
|
|
306
|
+
"retval": {"type": b"v"},
|
|
307
|
+
"arguments": {0: {"type": b"^v"}},
|
|
308
|
+
},
|
|
309
|
+
"type": "@?",
|
|
310
|
+
},
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
)
|
|
314
|
+
r(
|
|
315
|
+
b"NSObject",
|
|
316
|
+
b"pictureInPictureControllerDidStartPictureInPicture:",
|
|
317
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
318
|
+
)
|
|
319
|
+
r(
|
|
320
|
+
b"NSObject",
|
|
321
|
+
b"pictureInPictureControllerDidStopPictureInPicture:",
|
|
322
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
323
|
+
)
|
|
324
|
+
r(
|
|
325
|
+
b"NSObject",
|
|
326
|
+
b"pictureInPictureControllerIsPlaybackPaused:",
|
|
327
|
+
{"required": True, "retval": {"type": b"Z"}, "arguments": {2: {"type": b"@"}}},
|
|
328
|
+
)
|
|
329
|
+
r(
|
|
330
|
+
b"NSObject",
|
|
331
|
+
b"pictureInPictureControllerShouldProhibitBackgroundAudioPlayback:",
|
|
332
|
+
{"required": False, "retval": {"type": b"Z"}, "arguments": {2: {"type": b"@"}}},
|
|
333
|
+
)
|
|
334
|
+
r(
|
|
335
|
+
b"NSObject",
|
|
336
|
+
b"pictureInPictureControllerTimeRangeForPlayback:",
|
|
337
|
+
{
|
|
338
|
+
"required": True,
|
|
339
|
+
"retval": {"type": b"{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"},
|
|
340
|
+
"arguments": {2: {"type": b"@"}},
|
|
341
|
+
},
|
|
342
|
+
)
|
|
343
|
+
r(
|
|
344
|
+
b"NSObject",
|
|
345
|
+
b"pictureInPictureControllerWillStartPictureInPicture:",
|
|
346
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
347
|
+
)
|
|
348
|
+
r(
|
|
349
|
+
b"NSObject",
|
|
350
|
+
b"pictureInPictureControllerWillStopPictureInPicture:",
|
|
351
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
352
|
+
)
|
|
353
|
+
r(
|
|
354
|
+
b"NSObject",
|
|
355
|
+
b"playerView:failedToStartPictureInPictureWithError:",
|
|
356
|
+
{
|
|
357
|
+
"required": False,
|
|
358
|
+
"retval": {"type": b"v"},
|
|
359
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
360
|
+
},
|
|
361
|
+
)
|
|
362
|
+
r(
|
|
363
|
+
b"NSObject",
|
|
364
|
+
b"playerView:restoreUserInterfaceForFullScreenExitWithCompletionHandler:",
|
|
365
|
+
{
|
|
366
|
+
"required": False,
|
|
367
|
+
"retval": {"type": b"v"},
|
|
368
|
+
"arguments": {
|
|
369
|
+
2: {"type": b"@"},
|
|
370
|
+
3: {
|
|
371
|
+
"callable": {
|
|
372
|
+
"retval": {"type": b"v"},
|
|
373
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"Z"}},
|
|
374
|
+
},
|
|
375
|
+
"type": b"@?",
|
|
376
|
+
},
|
|
377
|
+
},
|
|
378
|
+
},
|
|
379
|
+
)
|
|
380
|
+
r(
|
|
381
|
+
b"NSObject",
|
|
382
|
+
b"playerView:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:",
|
|
383
|
+
{
|
|
384
|
+
"required": False,
|
|
385
|
+
"retval": {"type": b"v"},
|
|
386
|
+
"arguments": {
|
|
387
|
+
2: {"type": b"@"},
|
|
388
|
+
3: {
|
|
389
|
+
"callable": {
|
|
390
|
+
"retval": {"type": b"v"},
|
|
391
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"Z"}},
|
|
392
|
+
},
|
|
393
|
+
"type": b"@?",
|
|
394
|
+
},
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
|
+
)
|
|
398
|
+
r(
|
|
399
|
+
b"NSObject",
|
|
400
|
+
b"playerViewDidEnterFullScreen:",
|
|
401
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
402
|
+
)
|
|
403
|
+
r(
|
|
404
|
+
b"NSObject",
|
|
405
|
+
b"playerViewDidExitFullScreen:",
|
|
406
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
407
|
+
)
|
|
408
|
+
r(
|
|
409
|
+
b"NSObject",
|
|
410
|
+
b"playerViewDidStartPictureInPicture:",
|
|
411
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
412
|
+
)
|
|
413
|
+
r(
|
|
414
|
+
b"NSObject",
|
|
415
|
+
b"playerViewDidStopPictureInPicture:",
|
|
416
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
417
|
+
)
|
|
418
|
+
r(
|
|
419
|
+
b"NSObject",
|
|
420
|
+
b"playerViewShouldAutomaticallyDismissAtPictureInPictureStart:",
|
|
421
|
+
{"required": False, "retval": {"type": b"Z"}, "arguments": {2: {"type": b"@"}}},
|
|
422
|
+
)
|
|
423
|
+
r(
|
|
424
|
+
b"NSObject",
|
|
425
|
+
b"playerViewWillEnterFullScreen:",
|
|
426
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
427
|
+
)
|
|
428
|
+
r(
|
|
429
|
+
b"NSObject",
|
|
430
|
+
b"playerViewWillExitFullScreen:",
|
|
431
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
432
|
+
)
|
|
433
|
+
r(
|
|
434
|
+
b"NSObject",
|
|
435
|
+
b"playerViewWillStartPictureInPicture:",
|
|
436
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
437
|
+
)
|
|
438
|
+
r(
|
|
439
|
+
b"NSObject",
|
|
440
|
+
b"playerViewWillStopPictureInPicture:",
|
|
441
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
442
|
+
)
|
|
443
|
+
r(
|
|
444
|
+
b"NSObject",
|
|
445
|
+
b"routePickerViewDidEndPresentingRoutes:",
|
|
446
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
447
|
+
)
|
|
448
|
+
r(
|
|
449
|
+
b"NSObject",
|
|
450
|
+
b"routePickerViewWillBeginPresentingRoutes:",
|
|
451
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
452
|
+
)
|
|
453
|
+
finally:
|
|
454
|
+
objc._updatingMetadata(False)
|
|
455
|
+
|
|
456
|
+
objc.registerNewKeywordsFromSelector("AVLegibleMediaOptionsMenuController", b"init")
|
|
457
|
+
objc.registerNewKeywordsFromSelector(
|
|
458
|
+
"AVLegibleMediaOptionsMenuController", b"initWithPlayer:"
|
|
459
|
+
)
|
|
460
|
+
objc.registerNewKeywordsFromSelector(
|
|
461
|
+
"AVPictureInPictureController", b"initWithContentSource:"
|
|
462
|
+
)
|
|
463
|
+
objc.registerNewKeywordsFromSelector(
|
|
464
|
+
"AVPictureInPictureController", b"initWithPlayerLayer:"
|
|
465
|
+
)
|
|
466
|
+
objc.registerNewKeywordsFromSelector(
|
|
467
|
+
"AVPictureInPictureControllerContentSource", b"init"
|
|
468
|
+
)
|
|
469
|
+
objc.registerNewKeywordsFromSelector(
|
|
470
|
+
"AVPictureInPictureControllerContentSource", b"initWithPlayerLayer:"
|
|
471
|
+
)
|
|
472
|
+
objc.registerNewKeywordsFromSelector(
|
|
473
|
+
"AVPictureInPictureControllerContentSource",
|
|
474
|
+
b"initWithSampleBufferDisplayLayer:playbackDelegate:",
|
|
475
|
+
)
|
|
476
|
+
objc.registerNewKeywordsFromSelector("AVPlaybackSpeed", b"init")
|
|
477
|
+
objc.registerNewKeywordsFromSelector("AVPlaybackSpeed", b"initWithRate:localizedName:")
|
|
478
|
+
expressions = {}
|
|
479
|
+
|
|
480
|
+
# END OF FILE
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyobjc-framework-AVKit
|
|
3
|
+
Version: 12.2
|
|
4
|
+
Summary: Wrappers for the framework AVKit 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,AVKit
|
|
10
|
+
Platform: MacOS X (>=10.9)
|
|
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-Cocoa>=12.2
|
|
35
|
+
Requires-Dist: pyobjc-framework-Quartz>=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 "AVKit" framework on macOS introduced in macOS 10.9.
|
|
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
|
+
AVKit/_AVKit.cpython-315-darwin.so,sha256=bYRbD4psD2Rop6FSfEH_11BSJZDN3mcALJr3JGyUyYc,87584
|
|
2
|
+
AVKit/__init__.py,sha256=UE0bg5ffmBp2HHEDhbdBuFRvc9IRcPASw3oNJIu4LTM,1253
|
|
3
|
+
AVKit/_metadata.py,sha256=SAaKt8PyNkBKryfLgDnPRgF4z9nIEOb6G5AUUob7Ne8,16457
|
|
4
|
+
pyobjc_framework_avkit-12.2.dist-info/METADATA,sha256=nJvj-ib8p0IeO2Jq4B1vFoUEIt-2uzHjthvu7tRu8xI,2558
|
|
5
|
+
pyobjc_framework_avkit-12.2.dist-info/WHEEL,sha256=2M_SYDyM5rEsv_ln2yEuQGcyAVVUxLKyXAZ43VblWzk,115
|
|
6
|
+
pyobjc_framework_avkit-12.2.dist-info/pyobjc-build-info.txt,sha256=Ri0Wl_rPog8K797Y9SwUgX2P5KgewvMu0uQOBhtk0lo,83
|
|
7
|
+
pyobjc_framework_avkit-12.2.dist-info/top_level.txt,sha256=Ibd3kHY5SbEGLEyGZvzYljutRe3juSkcB4yN0VH4gHY,6
|
|
8
|
+
pyobjc_framework_avkit-12.2.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
AVKit
|