pyobjc-framework-BackgroundAssets 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.
- BackgroundAssets/_BackgroundAssets.cpython-315-darwin.so +0 -0
- BackgroundAssets/__init__.py +52 -0
- BackgroundAssets/_metadata.py +506 -0
- pyobjc_framework_backgroundassets-12.2.dist-info/METADATA +68 -0
- pyobjc_framework_backgroundassets-12.2.dist-info/RECORD +8 -0
- pyobjc_framework_backgroundassets-12.2.dist-info/WHEEL +5 -0
- pyobjc_framework_backgroundassets-12.2.dist-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_backgroundassets-12.2.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the BackgroundAssets 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, _BackgroundAssets
|
|
15
|
+
|
|
16
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
17
|
+
name="BackgroundAssets",
|
|
18
|
+
frameworkIdentifier="com.apple.mobileasset.BackgroundAssets",
|
|
19
|
+
frameworkPath=objc.pathForFramework(
|
|
20
|
+
"/System/Library/Frameworks/BackgroundAssets.framework"
|
|
21
|
+
),
|
|
22
|
+
globals_dict=globals(),
|
|
23
|
+
inline_list=None,
|
|
24
|
+
parents=(_BackgroundAssets, Foundation),
|
|
25
|
+
metadict=_metadata.__dict__,
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
globals()["__dir__"] = dir_func
|
|
29
|
+
globals()["__getattr__"] = getattr_func
|
|
30
|
+
|
|
31
|
+
for cls, sel in (
|
|
32
|
+
("BADownloadManager", b"init"),
|
|
33
|
+
("BADownloadManager", b"new"),
|
|
34
|
+
("BAURLDownload", b"init"),
|
|
35
|
+
("BAURLDownload", b"new"),
|
|
36
|
+
("BAAppExtensionInfo", b"init"),
|
|
37
|
+
("BAAppExtensionInfo", b"new"),
|
|
38
|
+
("BADownload", b"init"),
|
|
39
|
+
("BADownload", b"new"),
|
|
40
|
+
("BAAssetPack", b"init"),
|
|
41
|
+
("BAAssetPack", b"new"),
|
|
42
|
+
("BAAssetPackManager", b"init"),
|
|
43
|
+
("BAAssetPackManager", b"new"),
|
|
44
|
+
("BAAssetPackManifest", b"init"),
|
|
45
|
+
("BAAssetPackManifest", b"new"),
|
|
46
|
+
):
|
|
47
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
48
|
+
|
|
49
|
+
del sys.modules["BackgroundAssets._metadata"]
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
globals().pop("_setup")()
|
|
@@ -0,0 +1,506 @@
|
|
|
1
|
+
# This file is generated by objective.metadata
|
|
2
|
+
#
|
|
3
|
+
# Last update: Sun May 24 11:42:56 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 = """$BAAssetPackIdentifierErrorKey$BADownloaderPriorityDefault@q$BADownloaderPriorityMax@q$BADownloaderPriorityMin@q$BAErrorDomain$BAManagedErrorDomain$"""
|
|
34
|
+
enums = """$BAAssetPackStatusDownloadAvailable@1$BAAssetPackStatusDownloaded@64$BAAssetPackStatusDownloading@32$BAAssetPackStatusObsolete@16$BAAssetPackStatusOutOfDate@8$BAAssetPackStatusUpToDate@4$BAAssetPackStatusUpdateAvailable@2$BAContentRequestInstall@1$BAContentRequestPeriodic@3$BAContentRequestUpdate@2$BADownloadStateCreated@0$BADownloadStateDownloading@2$BADownloadStateFailed@-1$BADownloadStateFinished@3$BADownloadStateWaiting@1$BAErrorCodeCallFromExtensionNotAllowed@50$BAErrorCodeCallFromInactiveProcessNotAllowed@51$BAErrorCodeCallerConnectionInvalid@56$BAErrorCodeCallerConnectionNotAccepted@55$BAErrorCodeDownloadAlreadyFailed@103$BAErrorCodeDownloadAlreadyScheduled@100$BAErrorCodeDownloadBackgroundActivityProhibited@111$BAErrorCodeDownloadDoesNotExist@113$BAErrorCodeDownloadEssentialDownloadNotPermitted@109$BAErrorCodeDownloadFailedToStart@102$BAErrorCodeDownloadInvalid@0$BAErrorCodeDownloadNotScheduled@101$BAErrorCodeDownloadWouldExceedAllowance@112$BAErrorCodeSessionDownloadAllowanceExceeded@204$BAErrorCodeSessionDownloadDisallowedByAllowance@203$BAErrorCodeSessionDownloadDisallowedByDomain@202$BAErrorCodeSessionDownloadNotPermittedBeforeAppLaunch@206$BAManagedErrorCodeAssetPackNotFound@0$BAManagedErrorCodeFileNotFound@1$"""
|
|
35
|
+
misc.update(
|
|
36
|
+
{
|
|
37
|
+
"BAAssetPackStatus": NewType("BAAssetPackStatus", int),
|
|
38
|
+
"BAErrorCode": NewType("BAErrorCode", int),
|
|
39
|
+
"BAManagedErrorCode": NewType("BAManagedErrorCode", int),
|
|
40
|
+
"BAContentRequest": NewType("BAContentRequest", int),
|
|
41
|
+
"BADownloadState": NewType("BADownloadState", int),
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
misc.update(
|
|
45
|
+
{
|
|
46
|
+
"BADownloadState": NewType("BADownloadState", int),
|
|
47
|
+
"BADownloaderPriority": NewType("BADownloaderPriority", int),
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
misc.update({})
|
|
51
|
+
r = objc.registerMetaDataForSelector
|
|
52
|
+
objc._updatingMetadata(True)
|
|
53
|
+
try:
|
|
54
|
+
r(
|
|
55
|
+
b"BAAssetPackManager",
|
|
56
|
+
b"URLForPath:error:",
|
|
57
|
+
{"arguments": {3: {"type_modifier": b"o"}}},
|
|
58
|
+
)
|
|
59
|
+
r(
|
|
60
|
+
b"BAAssetPackManager",
|
|
61
|
+
b"assetPackIsAvailableLocallyWithIdentifier:",
|
|
62
|
+
{"retval": {"type": b"Z"}},
|
|
63
|
+
)
|
|
64
|
+
r(
|
|
65
|
+
b"BAAssetPackManager",
|
|
66
|
+
b"checkForUpdatesWithCompletionHandler:",
|
|
67
|
+
{
|
|
68
|
+
"arguments": {
|
|
69
|
+
2: {
|
|
70
|
+
"callable": {
|
|
71
|
+
"retval": {"type": b"v"},
|
|
72
|
+
"arguments": {
|
|
73
|
+
0: {"type": b"^v"},
|
|
74
|
+
1: {"type": b"@"},
|
|
75
|
+
2: {"type": b"@"},
|
|
76
|
+
3: {"type": b"@"},
|
|
77
|
+
},
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
)
|
|
83
|
+
r(
|
|
84
|
+
b"BAAssetPackManager",
|
|
85
|
+
b"contentsAtPath:searchingInAssetPackWithIdentifier:options:error:",
|
|
86
|
+
{"arguments": {5: {"type_modifier": b"o"}}},
|
|
87
|
+
)
|
|
88
|
+
r(
|
|
89
|
+
b"BAAssetPackManager",
|
|
90
|
+
b"ensureLocalAvailabilityOfAssetPack:completionHandler:",
|
|
91
|
+
{
|
|
92
|
+
"arguments": {
|
|
93
|
+
3: {
|
|
94
|
+
"callable": {
|
|
95
|
+
"retval": {"type": b"v"},
|
|
96
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
)
|
|
102
|
+
r(
|
|
103
|
+
b"BAAssetPackManager",
|
|
104
|
+
b"ensureLocalAvailabilityOfAssetPack:requireLatestVersion:completionHandler:",
|
|
105
|
+
{
|
|
106
|
+
"arguments": {
|
|
107
|
+
3: {"type": b"Z"},
|
|
108
|
+
4: {
|
|
109
|
+
"callable": {
|
|
110
|
+
"retval": {"type": b"v"},
|
|
111
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
)
|
|
117
|
+
r(
|
|
118
|
+
b"BAAssetPackManager",
|
|
119
|
+
b"fileDescriptorForPath:searchingInAssetPackWithIdentifier:error:",
|
|
120
|
+
{"arguments": {4: {"type_modifier": b"o"}}},
|
|
121
|
+
)
|
|
122
|
+
r(
|
|
123
|
+
b"BAAssetPackManager",
|
|
124
|
+
b"getAllAssetPacksWithCompletionHandler:",
|
|
125
|
+
{
|
|
126
|
+
"arguments": {
|
|
127
|
+
2: {
|
|
128
|
+
"callable": {
|
|
129
|
+
"retval": {"type": b"v"},
|
|
130
|
+
"arguments": {
|
|
131
|
+
0: {"type": b"^v"},
|
|
132
|
+
1: {"type": b"@"},
|
|
133
|
+
2: {"type": b"@"},
|
|
134
|
+
},
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
)
|
|
140
|
+
r(
|
|
141
|
+
b"BAAssetPackManager",
|
|
142
|
+
b"getAssetPackWithIdentifier:completionHandler:",
|
|
143
|
+
{
|
|
144
|
+
"arguments": {
|
|
145
|
+
3: {
|
|
146
|
+
"callable": {
|
|
147
|
+
"retval": {"type": b"v"},
|
|
148
|
+
"arguments": {
|
|
149
|
+
0: {"type": b"^v"},
|
|
150
|
+
1: {"type": b"@"},
|
|
151
|
+
2: {"type": b"@"},
|
|
152
|
+
},
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
)
|
|
158
|
+
r(
|
|
159
|
+
b"BAAssetPackManager",
|
|
160
|
+
b"getLocalStatusOfAssetPackWithIdentifier:completionHandler:",
|
|
161
|
+
{
|
|
162
|
+
"arguments": {
|
|
163
|
+
3: {
|
|
164
|
+
"callable": {
|
|
165
|
+
"retval": {"type": b"v"},
|
|
166
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"Q"}},
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
)
|
|
172
|
+
r(
|
|
173
|
+
b"BAAssetPackManager",
|
|
174
|
+
b"getStatusOfAssetPackWithIdentifier:completionHandler:",
|
|
175
|
+
{
|
|
176
|
+
"arguments": {
|
|
177
|
+
3: {
|
|
178
|
+
"callable": {
|
|
179
|
+
"retval": {"type": b"v"},
|
|
180
|
+
"arguments": {
|
|
181
|
+
0: {"type": b"^v"},
|
|
182
|
+
1: {"type": b"Q"},
|
|
183
|
+
2: {"type": b"@"},
|
|
184
|
+
},
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
)
|
|
190
|
+
r(
|
|
191
|
+
b"BAAssetPackManager",
|
|
192
|
+
b"getStatusRelativeToAssetPack:completionHandler:",
|
|
193
|
+
{
|
|
194
|
+
"arguments": {
|
|
195
|
+
3: {
|
|
196
|
+
"callable": {
|
|
197
|
+
"retval": {"type": b"v"},
|
|
198
|
+
"arguments": {
|
|
199
|
+
0: {"type": b"^v"},
|
|
200
|
+
1: {"type": b"Q"},
|
|
201
|
+
2: {"type": b"@"},
|
|
202
|
+
},
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
)
|
|
208
|
+
r(
|
|
209
|
+
b"BAAssetPackManager",
|
|
210
|
+
b"removeAssetPackWithIdentifier:completionHandler:",
|
|
211
|
+
{
|
|
212
|
+
"arguments": {
|
|
213
|
+
3: {
|
|
214
|
+
"callable": {
|
|
215
|
+
"retval": {"type": b"v"},
|
|
216
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
)
|
|
222
|
+
r(
|
|
223
|
+
b"BAAssetPackManifest",
|
|
224
|
+
b"initFromData:applicationGroupIdentifier:error:",
|
|
225
|
+
{"arguments": {4: {"type_modifier": b"o"}}},
|
|
226
|
+
)
|
|
227
|
+
r(
|
|
228
|
+
b"BAAssetPackManifest",
|
|
229
|
+
b"initWithContentsOfURL:applicationGroupIdentifier:error:",
|
|
230
|
+
{"arguments": {4: {"type_modifier": b"o"}}},
|
|
231
|
+
)
|
|
232
|
+
r(b"BADownload", b"isEssential", {"retval": {"type": b"Z"}})
|
|
233
|
+
r(
|
|
234
|
+
b"BADownloadManager",
|
|
235
|
+
b"cancelDownload:error:",
|
|
236
|
+
{"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
|
|
237
|
+
)
|
|
238
|
+
r(
|
|
239
|
+
b"BADownloadManager",
|
|
240
|
+
b"etchCurrentDownloads:",
|
|
241
|
+
{"arguments": {2: {"type_modifier": b"o"}}},
|
|
242
|
+
)
|
|
243
|
+
r(
|
|
244
|
+
b"BADownloadManager",
|
|
245
|
+
b"fetchCurrentDownloads:",
|
|
246
|
+
{"arguments": {2: {"type_modifier": b"o"}}},
|
|
247
|
+
)
|
|
248
|
+
r(
|
|
249
|
+
b"BADownloadManager",
|
|
250
|
+
b"fetchCurrentDownloadsWithCompletionHandler:",
|
|
251
|
+
{
|
|
252
|
+
"arguments": {
|
|
253
|
+
2: {
|
|
254
|
+
"callable": {
|
|
255
|
+
"retval": {"type": b"v"},
|
|
256
|
+
"arguments": {
|
|
257
|
+
0: {"type": b"^v"},
|
|
258
|
+
1: {"type": b"@"},
|
|
259
|
+
2: {"type": b"@"},
|
|
260
|
+
},
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
)
|
|
266
|
+
r(
|
|
267
|
+
b"BADownloadManager",
|
|
268
|
+
b"performWithExclusiveControl:",
|
|
269
|
+
{
|
|
270
|
+
"arguments": {
|
|
271
|
+
2: {
|
|
272
|
+
"callable": {
|
|
273
|
+
"retval": {"type": b"v"},
|
|
274
|
+
"arguments": {
|
|
275
|
+
0: {"type": b"^v"},
|
|
276
|
+
1: {"type": b"Z"},
|
|
277
|
+
2: {"type": b"@"},
|
|
278
|
+
},
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
)
|
|
284
|
+
r(
|
|
285
|
+
b"BADownloadManager",
|
|
286
|
+
b"performWithExclusiveControlBeforeDate:performHandler:",
|
|
287
|
+
{
|
|
288
|
+
"arguments": {
|
|
289
|
+
3: {
|
|
290
|
+
"callable": {
|
|
291
|
+
"retval": {"type": b"v"},
|
|
292
|
+
"arguments": {
|
|
293
|
+
0: {"type": b"^v"},
|
|
294
|
+
1: {"type": b"Z"},
|
|
295
|
+
2: {"type": b"@"},
|
|
296
|
+
},
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
)
|
|
302
|
+
r(
|
|
303
|
+
b"BADownloadManager",
|
|
304
|
+
b"scheduleDownload:error:",
|
|
305
|
+
{"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
|
|
306
|
+
)
|
|
307
|
+
r(
|
|
308
|
+
b"BADownloadManager",
|
|
309
|
+
b"startForegroundDownload:error:",
|
|
310
|
+
{"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
|
|
311
|
+
)
|
|
312
|
+
r(
|
|
313
|
+
b"BAURLDownload",
|
|
314
|
+
b"initWithIdentifier:request:essential:fileSize:applicationGroupIdentifier:priority:",
|
|
315
|
+
{"arguments": {4: {"type": b"Z"}}},
|
|
316
|
+
)
|
|
317
|
+
r(
|
|
318
|
+
b"NSObject",
|
|
319
|
+
b"backgroundDownload:didReceiveChallenge:completionHandler:",
|
|
320
|
+
{
|
|
321
|
+
"required": False,
|
|
322
|
+
"retval": {"type": b"v"},
|
|
323
|
+
"arguments": {
|
|
324
|
+
2: {"type": b"@"},
|
|
325
|
+
3: {"type": b"@"},
|
|
326
|
+
4: {
|
|
327
|
+
"callable": {
|
|
328
|
+
"retval": {"type": b"v"},
|
|
329
|
+
"arguments": {
|
|
330
|
+
0: {"type": b"^v"},
|
|
331
|
+
1: {"type": b"q"},
|
|
332
|
+
2: {"type": b"@"},
|
|
333
|
+
},
|
|
334
|
+
},
|
|
335
|
+
"type": b"@?",
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
)
|
|
340
|
+
r(
|
|
341
|
+
b"NSObject",
|
|
342
|
+
b"backgroundDownload:failedWithError:",
|
|
343
|
+
{
|
|
344
|
+
"required": False,
|
|
345
|
+
"retval": {"type": b"v"},
|
|
346
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
347
|
+
},
|
|
348
|
+
)
|
|
349
|
+
r(
|
|
350
|
+
b"NSObject",
|
|
351
|
+
b"backgroundDownload:finishedWithFileURL:",
|
|
352
|
+
{
|
|
353
|
+
"required": False,
|
|
354
|
+
"retval": {"type": b"v"},
|
|
355
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
356
|
+
},
|
|
357
|
+
)
|
|
358
|
+
r(
|
|
359
|
+
b"NSObject",
|
|
360
|
+
b"download:didReceiveChallenge:completionHandler:",
|
|
361
|
+
{
|
|
362
|
+
"required": False,
|
|
363
|
+
"retval": {"type": b"v"},
|
|
364
|
+
"arguments": {
|
|
365
|
+
2: {"type": b"@"},
|
|
366
|
+
3: {"type": b"@"},
|
|
367
|
+
4: {
|
|
368
|
+
"callable": {
|
|
369
|
+
"retval": {"type": b"v"},
|
|
370
|
+
"arguments": {
|
|
371
|
+
0: {"type": b"^v"},
|
|
372
|
+
1: {"type": b"q"},
|
|
373
|
+
2: {"type": b"@"},
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
"type": b"@?",
|
|
377
|
+
},
|
|
378
|
+
},
|
|
379
|
+
},
|
|
380
|
+
)
|
|
381
|
+
r(
|
|
382
|
+
b"NSObject",
|
|
383
|
+
b"download:didWriteBytes:totalBytesWritten:totalBytesExpectedToWrite:",
|
|
384
|
+
{
|
|
385
|
+
"required": False,
|
|
386
|
+
"retval": {"type": b"v"},
|
|
387
|
+
"arguments": {
|
|
388
|
+
2: {"type": b"@"},
|
|
389
|
+
3: {"type": b"q"},
|
|
390
|
+
4: {"type": b"q"},
|
|
391
|
+
5: {"type": b"q"},
|
|
392
|
+
},
|
|
393
|
+
},
|
|
394
|
+
)
|
|
395
|
+
r(
|
|
396
|
+
b"NSObject",
|
|
397
|
+
b"download:failedWithError:",
|
|
398
|
+
{
|
|
399
|
+
"required": False,
|
|
400
|
+
"retval": {"type": b"v"},
|
|
401
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
402
|
+
},
|
|
403
|
+
)
|
|
404
|
+
r(
|
|
405
|
+
b"NSObject",
|
|
406
|
+
b"download:finishedWithFileURL:",
|
|
407
|
+
{
|
|
408
|
+
"required": False,
|
|
409
|
+
"retval": {"type": b"v"},
|
|
410
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
411
|
+
},
|
|
412
|
+
)
|
|
413
|
+
r(
|
|
414
|
+
b"NSObject",
|
|
415
|
+
b"downloadDidBegin:",
|
|
416
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
417
|
+
)
|
|
418
|
+
r(
|
|
419
|
+
b"NSObject",
|
|
420
|
+
b"downloadDidPause:",
|
|
421
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
422
|
+
)
|
|
423
|
+
r(
|
|
424
|
+
b"NSObject",
|
|
425
|
+
b"downloadOfAssetPack:failedWithError:",
|
|
426
|
+
{
|
|
427
|
+
"required": False,
|
|
428
|
+
"retval": {"type": b"v"},
|
|
429
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
430
|
+
},
|
|
431
|
+
)
|
|
432
|
+
r(
|
|
433
|
+
b"NSObject",
|
|
434
|
+
b"downloadOfAssetPack:hasProgress:",
|
|
435
|
+
{
|
|
436
|
+
"required": False,
|
|
437
|
+
"retval": {"type": b"v"},
|
|
438
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
439
|
+
},
|
|
440
|
+
)
|
|
441
|
+
r(
|
|
442
|
+
b"NSObject",
|
|
443
|
+
b"downloadOfAssetPackBegan:",
|
|
444
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
445
|
+
)
|
|
446
|
+
r(
|
|
447
|
+
b"NSObject",
|
|
448
|
+
b"downloadOfAssetPackFinished:",
|
|
449
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
450
|
+
)
|
|
451
|
+
r(
|
|
452
|
+
b"NSObject",
|
|
453
|
+
b"downloadOfAssetPackPaused:",
|
|
454
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
455
|
+
)
|
|
456
|
+
r(
|
|
457
|
+
b"NSObject",
|
|
458
|
+
b"downloadsForRequest:manifestURL:extensionInfo:",
|
|
459
|
+
{
|
|
460
|
+
"required": False,
|
|
461
|
+
"retval": {"type": b"@"},
|
|
462
|
+
"arguments": {2: {"type": b"q"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
|
|
463
|
+
},
|
|
464
|
+
)
|
|
465
|
+
r(
|
|
466
|
+
b"NSObject",
|
|
467
|
+
b"extensionWillTerminate",
|
|
468
|
+
{"required": False, "retval": {"type": b"v"}},
|
|
469
|
+
)
|
|
470
|
+
r(
|
|
471
|
+
b"NSObject",
|
|
472
|
+
b"shouldDownloadAssetPack:",
|
|
473
|
+
{"required": False, "retval": {"type": b"Z"}, "arguments": {2: {"type": b"@"}}},
|
|
474
|
+
)
|
|
475
|
+
finally:
|
|
476
|
+
objc._updatingMetadata(False)
|
|
477
|
+
|
|
478
|
+
objc.registerNewKeywordsFromSelector("BAAppExtensionInfo", b"init")
|
|
479
|
+
objc.registerNewKeywordsFromSelector("BAAssetPack", b"init")
|
|
480
|
+
objc.registerNewKeywordsFromSelector("BAAssetPackManager", b"init")
|
|
481
|
+
objc.registerNewKeywordsFromSelector("BAAssetPackManifest", b"init")
|
|
482
|
+
objc.registerNewKeywordsFromSelector(
|
|
483
|
+
"BAAssetPackManifest", b"initFromData:applicationGroupIdentifier:error:"
|
|
484
|
+
)
|
|
485
|
+
objc.registerNewKeywordsFromSelector(
|
|
486
|
+
"BAAssetPackManifest", b"initWithContentsOfURL:applicationGroupIdentifier:error:"
|
|
487
|
+
)
|
|
488
|
+
objc.registerNewKeywordsFromSelector("BADownload", b"init")
|
|
489
|
+
objc.registerNewKeywordsFromSelector("BADownloadManager", b"init")
|
|
490
|
+
objc.registerNewKeywordsFromSelector("BAURLDownload", b"init")
|
|
491
|
+
objc.registerNewKeywordsFromSelector(
|
|
492
|
+
"BAURLDownload", b"initWithIdentifier:request:applicationGroupIdentifier:"
|
|
493
|
+
)
|
|
494
|
+
objc.registerNewKeywordsFromSelector(
|
|
495
|
+
"BAURLDownload", b"initWithIdentifier:request:applicationGroupIdentifier:priority:"
|
|
496
|
+
)
|
|
497
|
+
objc.registerNewKeywordsFromSelector(
|
|
498
|
+
"BAURLDownload",
|
|
499
|
+
b"initWithIdentifier:request:essential:fileSize:applicationGroupIdentifier:priority:",
|
|
500
|
+
)
|
|
501
|
+
objc.registerNewKeywordsFromSelector(
|
|
502
|
+
"BAURLDownload", b"initWithIdentifier:request:fileSize:applicationGroupIdentifier:"
|
|
503
|
+
)
|
|
504
|
+
expressions = {}
|
|
505
|
+
|
|
506
|
+
# END OF FILE
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyobjc-framework-BackgroundAssets
|
|
3
|
+
Version: 12.2
|
|
4
|
+
Summary: Wrappers for the framework BackgroundAssets 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,BackgroundAssets
|
|
10
|
+
Platform: MacOS X (>=13.0)
|
|
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
|
+
Dynamic: author
|
|
36
|
+
Dynamic: author-email
|
|
37
|
+
Dynamic: classifier
|
|
38
|
+
Dynamic: description
|
|
39
|
+
Dynamic: description-content-type
|
|
40
|
+
Dynamic: home-page
|
|
41
|
+
Dynamic: keywords
|
|
42
|
+
Dynamic: license
|
|
43
|
+
Dynamic: platform
|
|
44
|
+
Dynamic: requires-dist
|
|
45
|
+
Dynamic: requires-python
|
|
46
|
+
Dynamic: summary
|
|
47
|
+
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
48
|
+
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
49
|
+
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
Wrappers for the "BackgroundAssets" framework on macOS.
|
|
53
|
+
|
|
54
|
+
These wrappers don't include documentation, please check Apple's documentation
|
|
55
|
+
for information on how to use this framework and PyObjC's documentation
|
|
56
|
+
for general tips and tricks regarding the translation between Python
|
|
57
|
+
and (Objective-)C frameworks
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
Project links
|
|
61
|
+
-------------
|
|
62
|
+
|
|
63
|
+
* `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
|
|
64
|
+
|
|
65
|
+
* `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
|
|
66
|
+
|
|
67
|
+
* `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
|
|
68
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
BackgroundAssets/_BackgroundAssets.cpython-315-darwin.so,sha256=d2b_aJu8cXIqUKl8Jz-QAWkhcXvuVGipU3NlK0f2OCI,85848
|
|
2
|
+
BackgroundAssets/__init__.py,sha256=JleUkQwJjnvvFPLpWo6LCGszRSs8H_n3maV8umjZXQ8,1530
|
|
3
|
+
BackgroundAssets/_metadata.py,sha256=G2tizP3pZ_AbkMq-qEeKj0FO4SqmOap5XXg5dBZkhVg,15934
|
|
4
|
+
pyobjc_framework_backgroundassets-12.2.dist-info/METADATA,sha256=L3nzdlzwNHnjE_Lf42KWLcFiSIMxEkixbDMQdVSRzvU,2532
|
|
5
|
+
pyobjc_framework_backgroundassets-12.2.dist-info/WHEEL,sha256=2M_SYDyM5rEsv_ln2yEuQGcyAVVUxLKyXAZ43VblWzk,115
|
|
6
|
+
pyobjc_framework_backgroundassets-12.2.dist-info/pyobjc-build-info.txt,sha256=Ri0Wl_rPog8K797Y9SwUgX2P5KgewvMu0uQOBhtk0lo,83
|
|
7
|
+
pyobjc_framework_backgroundassets-12.2.dist-info/top_level.txt,sha256=f4rbXmA-IysbgmEMDTGxY42ozvwWHzjCyKeV_sXBowE,17
|
|
8
|
+
pyobjc_framework_backgroundassets-12.2.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
BackgroundAssets
|