pyobjc-framework-CoreLocation 11.0__cp313-cp313-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.

Potentially problematic release.


This version of pyobjc-framework-CoreLocation might be problematic. Click here for more details.

@@ -0,0 +1,53 @@
1
+ """
2
+ Python mapping for the CoreLocation 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, _CoreLocation
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="CoreLocation",
18
+ frameworkIdentifier="com.apple.corelocation",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/CoreLocation.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(
25
+ _CoreLocation,
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
+ ("CLMonitor", b"init"),
36
+ ("CLMonitor", b"new"),
37
+ ("CLMonitoringRecord", b"init"),
38
+ ("CLMonitoringRecord", b"new"),
39
+ ("CLMonitoringEvent", b"init"),
40
+ ("CLMonitoringEvent", b"new"),
41
+ ("CLBackgroundActivitySession", b"init"),
42
+ ("CLBackgroundActivitySession", b"new"),
43
+ ("CLCondition", b"init"),
44
+ ("CLCondition", b"new"),
45
+ ("CLLocationUpdater", b"init"),
46
+ ("CLLocationUpdater", b"new"),
47
+ ):
48
+ objc.registerUnavailableMethod(cls, sel)
49
+
50
+ del sys.modules["CoreLocation._metadata"]
51
+
52
+
53
+ globals().pop("_setup")()
@@ -0,0 +1,860 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Tue Jun 11 10:08:24 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
+ misc.update(
34
+ {
35
+ "CLLocationCoordinate2D": objc.createStructType(
36
+ "CoreLocation.CLLocationCoordinate2D",
37
+ b"{CLLocationCoordinate2D=dd}",
38
+ ["latitude", "longitude"],
39
+ )
40
+ }
41
+ )
42
+ constants = """$CLLocationDistanceMax@d$CLLocationPushServiceErrorDomain$CLTimeIntervalMax@d$kCLDistanceFilterNone@d$kCLErrorDomain$kCLErrorUserInfoAlternateRegionKey$kCLHeadingFilterNone@d$kCLLocationAccuracyBest@d$kCLLocationAccuracyBestForNavigation@d$kCLLocationAccuracyHundredMeters@d$kCLLocationAccuracyKilometer@d$kCLLocationAccuracyNearestTenMeters@d$kCLLocationAccuracyReduced@d$kCLLocationAccuracyThreeKilometers@d$kCLLocationCoordinate2DInvalid@{CLLocationCoordinate2D=dd}$"""
43
+ enums = """$CLAccuracyAuthorizationFullAccuracy@0$CLAccuracyAuthorizationReducedAccuracy@1$CLActivityTypeAirborne@5$CLActivityTypeAutomotiveNavigation@2$CLActivityTypeFitness@3$CLActivityTypeOther@1$CLActivityTypeOtherNavigation@4$CLDeviceOrientationFaceDown@6$CLDeviceOrientationFaceUp@5$CLDeviceOrientationLandscapeLeft@3$CLDeviceOrientationLandscapeRight@4$CLDeviceOrientationPortrait@1$CLDeviceOrientationPortraitUpsideDown@2$CLDeviceOrientationUnknown@0$CLLiveUpdateConfigurationAirborne@4$CLLiveUpdateConfigurationAutomotiveNavigation@1$CLLiveUpdateConfigurationDefault@0$CLLiveUpdateConfigurationFitness@3$CLLiveUpdateConfigurationOtherNavigation@2$CLLocationPushServiceErrorMissingEntitlement@3$CLLocationPushServiceErrorMissingPushExtension@1$CLLocationPushServiceErrorMissingPushServerEnvironment@2$CLLocationPushServiceErrorUnknown@0$CLLocationPushServiceErrorUnsupportedPlatform@4$CLMonitoringStateSatisfied@1$CLMonitoringStateUnknown@0$CLMonitoringStateUnmonitored@3$CLMonitoringStateUnsatisfied@2$CLProximityFar@3$CLProximityImmediate@1$CLProximityNear@2$CLProximityUnknown@0$CLRegionStateInside@1$CLRegionStateOutside@2$CLRegionStateUnknown@0$CLServiceSessionAuthorizationRequirementNone@0$CLServiceSessionAuthorizationRequirementWhenInUse@1$CL_TARGET_SUPPORTS_CONDITIONS@0$kCLAuthorizationStatusAuthorized@3$kCLAuthorizationStatusAuthorizedAlways@3$kCLAuthorizationStatusAuthorizedWhenInUse@4$kCLAuthorizationStatusDenied@2$kCLAuthorizationStatusNotDetermined@0$kCLAuthorizationStatusRestricted@1$kCLErrorDeferredAccuracyTooLow@13$kCLErrorDeferredCanceled@15$kCLErrorDeferredDistanceFiltered@14$kCLErrorDeferredFailed@11$kCLErrorDeferredNotUpdatingLocation@12$kCLErrorDenied@1$kCLErrorGeocodeCanceled@10$kCLErrorGeocodeFoundNoResult@8$kCLErrorGeocodeFoundPartialResult@9$kCLErrorHeadingFailure@3$kCLErrorHistoricalLocationError@19$kCLErrorLocationUnknown@0$kCLErrorNetwork@2$kCLErrorPromptDeclined@18$kCLErrorRangingFailure@17$kCLErrorRangingUnavailable@16$kCLErrorRegionMonitoringDenied@4$kCLErrorRegionMonitoringFailure@5$kCLErrorRegionMonitoringResponseDelayed@7$kCLErrorRegionMonitoringSetupDelayed@6$"""
44
+ misc.update(
45
+ {
46
+ "CLAccuracyAuthorization": NewType("CLAccuracyAuthorization", int),
47
+ "CLProximity": NewType("CLProximity", int),
48
+ "CLMonitoringState": NewType("CLMonitoringState", int),
49
+ "CLError": NewType("CLError", int),
50
+ "CLLiveUpdateConfiguration": NewType("CLLiveUpdateConfiguration", int),
51
+ "CLActivityType": NewType("CLActivityType", int),
52
+ "CLRegionState": NewType("CLRegionState", int),
53
+ "CLDeviceOrientation": NewType("CLDeviceOrientation", int),
54
+ "CLAuthorizationStatus": NewType("CLAuthorizationStatus", int),
55
+ "CLServiceSessionAuthorizationRequirement": NewType(
56
+ "CLServiceSessionAuthorizationRequirement", int
57
+ ),
58
+ "CLLocationPushServiceError": NewType("CLLocationPushServiceError", int),
59
+ }
60
+ )
61
+ misc.update({})
62
+ misc.update({})
63
+ functions = {
64
+ "CLLocationCoordinate2DIsValid": (b"Z{CLLocationCoordinate2D=dd}",),
65
+ "CLLocationCoordinate2DMake": (b"{CLLocationCoordinate2D=dd}dd",),
66
+ }
67
+ aliases = {"kCLAuthorizationStatusAuthorized": "kCLAuthorizationStatusAuthorizedAlways"}
68
+ r = objc.registerMetaDataForSelector
69
+ objc._updatingMetadata(True)
70
+ try:
71
+ r(
72
+ b"CLBackgroundActivitySession",
73
+ b"backgroundActivitySessionWithQueue:handler:",
74
+ {
75
+ "arguments": {
76
+ 3: {
77
+ "callable": {
78
+ "retval": {"type": b"v"},
79
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
80
+ }
81
+ }
82
+ }
83
+ },
84
+ )
85
+ r(
86
+ b"CLBackgroundActivitySessionDiagnostic",
87
+ b"authorizationDenied",
88
+ {"retval": {"type": b"Z"}},
89
+ )
90
+ r(
91
+ b"CLBackgroundActivitySessionDiagnostic",
92
+ b"authorizationDeniedGlobally",
93
+ {"retval": {"type": b"Z"}},
94
+ )
95
+ r(
96
+ b"CLBackgroundActivitySessionDiagnostic",
97
+ b"authorizationRequestInProgress",
98
+ {"retval": {"type": b"Z"}},
99
+ )
100
+ r(
101
+ b"CLBackgroundActivitySessionDiagnostic",
102
+ b"authorizationRestricted",
103
+ {"retval": {"type": b"Z"}},
104
+ )
105
+ r(
106
+ b"CLBackgroundActivitySessionDiagnostic",
107
+ b"insufficientlyInUse",
108
+ {"retval": {"type": b"Z"}},
109
+ )
110
+ r(
111
+ b"CLBackgroundActivitySessionDiagnostic",
112
+ b"serviceSessionRequired",
113
+ {"retval": {"type": b"Z"}},
114
+ )
115
+ r(b"CLBeaconRegion", b"notifyEntryStateOnDisplay", {"retval": {"type": b"Z"}})
116
+ r(
117
+ b"CLBeaconRegion",
118
+ b"setNotifyEntryStateOnDisplay:",
119
+ {"arguments": {2: {"type": b"Z"}}},
120
+ )
121
+ r(
122
+ b"CLCircularRegion",
123
+ b"center",
124
+ {"retval": {"type": b"{CLLocationCoordinate2D=dd}"}},
125
+ )
126
+ r(
127
+ b"CLCircularRegion",
128
+ b"containsCoordinate:",
129
+ {
130
+ "retval": {"type": b"Z"},
131
+ "arguments": {2: {"type": b"{CLLocationCoordinate2D=dd}"}},
132
+ },
133
+ )
134
+ r(
135
+ b"CLCircularRegion",
136
+ b"initWithCenter:radius:identifier:",
137
+ {"arguments": {2: {"type": b"{CLLocationCoordinate2D=dd}"}}},
138
+ )
139
+ r(
140
+ b"CLGeocoder",
141
+ b"geocodeAddressDictionary:completionHandler:",
142
+ {
143
+ "arguments": {
144
+ 3: {
145
+ "callable": {
146
+ "retval": {"type": b"v"},
147
+ "arguments": {
148
+ 0: {"type": b"^v"},
149
+ 1: {"type": b"@"},
150
+ 2: {"type": b"@"},
151
+ },
152
+ }
153
+ }
154
+ }
155
+ },
156
+ )
157
+ r(
158
+ b"CLGeocoder",
159
+ b"geocodeAddressString:completionHandler:",
160
+ {
161
+ "arguments": {
162
+ 3: {
163
+ "callable": {
164
+ "retval": {"type": b"v"},
165
+ "arguments": {
166
+ 0: {"type": b"^v"},
167
+ 1: {"type": b"@"},
168
+ 2: {"type": b"@"},
169
+ },
170
+ }
171
+ }
172
+ }
173
+ },
174
+ )
175
+ r(
176
+ b"CLGeocoder",
177
+ b"geocodeAddressString:inRegion:completionHandler:",
178
+ {
179
+ "arguments": {
180
+ 4: {
181
+ "callable": {
182
+ "retval": {"type": b"v"},
183
+ "arguments": {
184
+ 0: {"type": b"^v"},
185
+ 1: {"type": b"@"},
186
+ 2: {"type": b"@"},
187
+ },
188
+ }
189
+ }
190
+ }
191
+ },
192
+ )
193
+ r(
194
+ b"CLGeocoder",
195
+ b"geocodeAddressString:inRegion:preferredLocale:completionHandler:",
196
+ {
197
+ "arguments": {
198
+ 5: {
199
+ "callable": {
200
+ "retval": {"type": b"v"},
201
+ "arguments": {
202
+ 0: {"type": b"^v"},
203
+ 1: {"type": b"@"},
204
+ 2: {"type": b"@"},
205
+ },
206
+ }
207
+ }
208
+ }
209
+ },
210
+ )
211
+ r(
212
+ b"CLGeocoder",
213
+ b"geocodePostalAddress:completionHandler:",
214
+ {
215
+ "arguments": {
216
+ 3: {
217
+ "callable": {
218
+ "retval": {"type": b"v"},
219
+ "arguments": {
220
+ 0: {"type": b"^v"},
221
+ 1: {"type": b"@"},
222
+ 2: {"type": b"@"},
223
+ },
224
+ }
225
+ }
226
+ }
227
+ },
228
+ )
229
+ r(
230
+ b"CLGeocoder",
231
+ b"geocodePostalAddress:preferredLocale:completionHandler:",
232
+ {
233
+ "arguments": {
234
+ 4: {
235
+ "callable": {
236
+ "retval": {"type": b"v"},
237
+ "arguments": {
238
+ 0: {"type": b"^v"},
239
+ 1: {"type": b"@"},
240
+ 2: {"type": b"@"},
241
+ },
242
+ }
243
+ }
244
+ }
245
+ },
246
+ )
247
+ r(b"CLGeocoder", b"isGeocoding", {"retval": {"type": b"Z"}})
248
+ r(
249
+ b"CLGeocoder",
250
+ b"reverseGeocodeLocation:completionHandler:",
251
+ {
252
+ "arguments": {
253
+ 3: {
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"CLGeocoder",
268
+ b"reverseGeocodeLocation:preferredLocale:completionHandler:",
269
+ {
270
+ "arguments": {
271
+ 4: {
272
+ "callable": {
273
+ "retval": {"type": b"v"},
274
+ "arguments": {
275
+ 0: {"type": b"^v"},
276
+ 1: {"type": b"@"},
277
+ 2: {"type": b"@"},
278
+ },
279
+ }
280
+ }
281
+ }
282
+ },
283
+ )
284
+ r(b"CLLocation", b"coordinate", {"retval": {"type": "{CLLocationCoordinate2D=dd}"}})
285
+ r(
286
+ b"CLLocation",
287
+ b"initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:speed:timestamp:",
288
+ {"arguments": {2: {"type": b"{CLLocationCoordinate2D=dd}"}}},
289
+ )
290
+ r(
291
+ b"CLLocation",
292
+ b"initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:timestamp:",
293
+ {"arguments": {2: {"type": "{CLLocationCoordinate2D=dd}"}}},
294
+ )
295
+ r(
296
+ b"CLLocationManager",
297
+ b"allowsBackgroundLocationUpdates",
298
+ {"retval": {"type": b"Z"}},
299
+ )
300
+ r(
301
+ b"CLLocationManager",
302
+ b"deferredLocationUpdatesAvailable",
303
+ {"retval": {"type": b"Z"}},
304
+ )
305
+ r(b"CLLocationManager", b"headingAvailable", {"retval": {"type": b"Z"}})
306
+ r(
307
+ b"CLLocationManager",
308
+ b"isAuthorizedForPreciseLocation",
309
+ {"retval": {"type": "Z"}},
310
+ )
311
+ r(b"CLLocationManager", b"isAuthorizedForWidgetUpdates", {"retval": {"type": b"Z"}})
312
+ r(
313
+ b"CLLocationManager",
314
+ b"isMonitoringAvailableForClass:",
315
+ {"retval": {"type": b"Z"}},
316
+ )
317
+ r(b"CLLocationManager", b"isRangingAvailable", {"retval": {"type": b"Z"}})
318
+ r(b"CLLocationManager", b"locationServicesEnabled", {"retval": {"type": "Z"}})
319
+ r(
320
+ b"CLLocationManager",
321
+ b"pausesLocationUpdatesAutomatically",
322
+ {"retval": {"type": b"Z"}},
323
+ )
324
+ r(b"CLLocationManager", b"regionMonitoringAvailable", {"retval": {"type": b"Z"}})
325
+ r(b"CLLocationManager", b"regionMonitoringEnabled", {"retval": {"type": b"Z"}})
326
+ r(
327
+ b"CLLocationManager",
328
+ b"requestHistoricalLocationsWithPurposeKey:sampleCount:completionHandler:",
329
+ {
330
+ "arguments": {
331
+ 4: {
332
+ "callable": {
333
+ "retval": {"type": b"v"},
334
+ "arguments": {
335
+ 0: {"type": b"^v"},
336
+ 1: {"type": b"@"},
337
+ 2: {"type": b"@"},
338
+ },
339
+ }
340
+ }
341
+ }
342
+ },
343
+ )
344
+ r(
345
+ b"CLLocationManager",
346
+ b"requestTemporaryFullAccuracyAuthorizationWithPurposeKey:completion:",
347
+ {
348
+ "arguments": {
349
+ 3: {
350
+ "callable": {
351
+ "retval": {"type": b"v"},
352
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
353
+ }
354
+ }
355
+ }
356
+ },
357
+ )
358
+ r(
359
+ b"CLLocationManager",
360
+ b"requestTemporaryPreciseLocationAuthorizationWithPurposeKey:completion:",
361
+ {
362
+ "arguments": {
363
+ 3: {
364
+ "callable": {
365
+ "retval": {"type": b"v"},
366
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
367
+ }
368
+ }
369
+ }
370
+ },
371
+ )
372
+ r(
373
+ b"CLLocationManager",
374
+ b"setAllowsBackgroundLocationUpdates:",
375
+ {"arguments": {2: {"type": b"Z"}}},
376
+ )
377
+ r(
378
+ b"CLLocationManager",
379
+ b"setPausesLocationUpdatesAutomatically:",
380
+ {"arguments": {2: {"type": b"Z"}}},
381
+ )
382
+ r(
383
+ b"CLLocationManager",
384
+ b"setShowsBackgroundLocationIndicator:",
385
+ {"arguments": {2: {"type": b"Z"}}},
386
+ )
387
+ r(
388
+ b"CLLocationManager",
389
+ b"showsBackgroundLocationIndicator",
390
+ {"retval": {"type": b"Z"}},
391
+ )
392
+ r(
393
+ b"CLLocationManager",
394
+ b"significantLocationChangeMonitoringAvailable",
395
+ {"retval": {"type": b"Z"}},
396
+ )
397
+ r(
398
+ b"CLLocationManager",
399
+ b"startMonitoringLocationPushesWithCompletion:",
400
+ {
401
+ "arguments": {
402
+ 2: {
403
+ "callable": {
404
+ "retval": {"type": b"v"},
405
+ "arguments": {
406
+ 0: {"type": b"^v"},
407
+ 1: {"type": b"@"},
408
+ 2: {"type": b"@"},
409
+ },
410
+ }
411
+ }
412
+ }
413
+ },
414
+ )
415
+ r(
416
+ b"CLLocationSourceInformation",
417
+ b"initWithSoftwareSimulationState:andExternalAccessoryState:",
418
+ {"arguments": {2: {"type": b"Z"}, 3: {"type": b"Z"}}},
419
+ )
420
+ r(
421
+ b"CLLocationSourceInformation",
422
+ b"isProducedByAccessory",
423
+ {"retval": {"type": b"Z"}},
424
+ )
425
+ r(
426
+ b"CLLocationSourceInformation",
427
+ b"isSimulatedBySoftware",
428
+ {"retval": {"type": b"Z"}},
429
+ )
430
+ r(
431
+ b"CLLocationUpdater",
432
+ b"liveUpdaterWithConfiguration:queue:handler:",
433
+ {
434
+ "arguments": {
435
+ 4: {
436
+ "callable": {
437
+ "retval": {"type": b"v"},
438
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
439
+ }
440
+ }
441
+ }
442
+ },
443
+ )
444
+ r(
445
+ b"CLLocationUpdater",
446
+ b"liveUpdaterWithQueue:handler:",
447
+ {
448
+ "arguments": {
449
+ 3: {
450
+ "callable": {
451
+ "retval": {"type": b"v"},
452
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
453
+ }
454
+ }
455
+ }
456
+ },
457
+ )
458
+ r(
459
+ b"CLMonitor",
460
+ b"requestMonitorWithConfiguration:completion:",
461
+ {
462
+ "arguments": {
463
+ 3: {
464
+ "callable": {
465
+ "retval": {"type": b"v"},
466
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
467
+ }
468
+ }
469
+ }
470
+ },
471
+ )
472
+ r(
473
+ b"CLMonitorConfiguration",
474
+ b"configWithMonitorName:queue:eventHandler:",
475
+ {
476
+ "arguments": {
477
+ 4: {
478
+ "callable": {
479
+ "retval": {"type": b"v"},
480
+ "arguments": {
481
+ 0: {"type": b"^v"},
482
+ 1: {"type": b"@"},
483
+ 2: {"type": b"@"},
484
+ },
485
+ }
486
+ }
487
+ }
488
+ },
489
+ )
490
+ r(
491
+ b"CLMonitorConfiguration",
492
+ b"eventHandler",
493
+ {
494
+ "retval": {
495
+ "callable": {
496
+ "retval": {"type": b"v"},
497
+ "arguments": {
498
+ 0: {"type": b"^v"},
499
+ 1: {"type": b"@"},
500
+ 2: {"type": b"@"},
501
+ },
502
+ }
503
+ }
504
+ },
505
+ )
506
+ r(b"CLMonitoringEvent", b"accuracyLimited", {"retval": {"type": b"Z"}})
507
+ r(b"CLMonitoringEvent", b"authorizationDenied", {"retval": {"type": b"Z"}})
508
+ r(b"CLMonitoringEvent", b"authorizationDeniedGlobally", {"retval": {"type": b"Z"}})
509
+ r(
510
+ b"CLMonitoringEvent",
511
+ b"authorizationRequestInProgress",
512
+ {"retval": {"type": b"Z"}},
513
+ )
514
+ r(b"CLMonitoringEvent", b"authorizationRestricted", {"retval": {"type": b"Z"}})
515
+ r(b"CLMonitoringEvent", b"conditionLimitExceeded", {"retval": {"type": b"Z"}})
516
+ r(b"CLMonitoringEvent", b"conditionUnsupported", {"retval": {"type": b"Z"}})
517
+ r(b"CLMonitoringEvent", b"insufficientlyInUse", {"retval": {"type": b"Z"}})
518
+ r(b"CLMonitoringEvent", b"persistenceUnavailable", {"retval": {"type": b"Z"}})
519
+ r(b"CLMonitoringEvent", b"serviceSessionRequired", {"retval": {"type": b"Z"}})
520
+ r(b"CLRegion", b"center", {"retval": {"type": b"{CLLocationCoordinate2D=dd}"}})
521
+ r(
522
+ b"CLRegion",
523
+ b"containsCoordinate:",
524
+ {
525
+ "retval": {"type": b"Z"},
526
+ "arguments": {2: {"type": b"{CLLocationCoordinate2D=dd}"}},
527
+ },
528
+ )
529
+ r(
530
+ b"CLRegion",
531
+ b"initCircularRegionWithCenter:radius:identifier:",
532
+ {"arguments": {2: {"type": b"{CLLocationCoordinate2D=dd}"}}},
533
+ )
534
+ r(b"CLRegion", b"notifyOnEntry", {"retval": {"type": b"Z"}})
535
+ r(b"CLRegion", b"notifyOnExit", {"retval": {"type": b"Z"}})
536
+ r(b"CLRegion", b"setNotifyOnEntry:", {"arguments": {2: {"type": b"Z"}}})
537
+ r(b"CLRegion", b"setNotifyOnExit:", {"arguments": {2: {"type": b"Z"}}})
538
+ r(
539
+ b"CLServiceSession",
540
+ b"sessionRequiringAuthorization:fullAccuracyPurposeKey:queue:handler:",
541
+ {
542
+ "arguments": {
543
+ 5: {
544
+ "callable": {
545
+ "retval": {"type": b"v"},
546
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
547
+ }
548
+ }
549
+ }
550
+ },
551
+ )
552
+ r(
553
+ b"CLServiceSession",
554
+ b"sessionRequiringAuthorization:queue:handler:",
555
+ {
556
+ "arguments": {
557
+ 4: {
558
+ "callable": {
559
+ "retval": {"type": b"v"},
560
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
561
+ }
562
+ }
563
+ }
564
+ },
565
+ )
566
+ r(
567
+ b"CLServiceSessionDiagnostic",
568
+ b"alwaysAuthorizationDenied",
569
+ {"retval": {"type": b"Z"}},
570
+ )
571
+ r(b"CLServiceSessionDiagnostic", b"authorizationDenied", {"retval": {"type": b"Z"}})
572
+ r(
573
+ b"CLServiceSessionDiagnostic",
574
+ b"authorizationDeniedGlobally",
575
+ {"retval": {"type": b"Z"}},
576
+ )
577
+ r(
578
+ b"CLServiceSessionDiagnostic",
579
+ b"authorizationRequestInProgress",
580
+ {"retval": {"type": b"Z"}},
581
+ )
582
+ r(
583
+ b"CLServiceSessionDiagnostic",
584
+ b"authorizationRestricted",
585
+ {"retval": {"type": b"Z"}},
586
+ )
587
+ r(b"CLServiceSessionDiagnostic", b"fullAccuracyDenied", {"retval": {"type": b"Z"}})
588
+ r(b"CLServiceSessionDiagnostic", b"insufficientlyInUse", {"retval": {"type": b"Z"}})
589
+ r(
590
+ b"CLServiceSessionDiagnostic",
591
+ b"serviceSessionRequired",
592
+ {"retval": {"type": b"Z"}},
593
+ )
594
+ r(b"CLUpdate", b"accuracyLimited", {"retval": {"type": b"Z"}})
595
+ r(b"CLUpdate", b"authorizationDenied", {"retval": {"type": b"Z"}})
596
+ r(b"CLUpdate", b"authorizationDeniedGlobally", {"retval": {"type": b"Z"}})
597
+ r(b"CLUpdate", b"authorizationRequestInProgress", {"retval": {"type": b"Z"}})
598
+ r(b"CLUpdate", b"authorizationRestricted", {"retval": {"type": b"Z"}})
599
+ r(b"CLUpdate", b"insufficientlyInUse", {"retval": {"type": b"Z"}})
600
+ r(b"CLUpdate", b"isStationary", {"retval": {"type": b"Z"}})
601
+ r(b"CLUpdate", b"locationUnavailable", {"retval": {"type": b"Z"}})
602
+ r(b"CLUpdate", b"serviceSessionRequired", {"retval": {"type": b"Z"}})
603
+ r(b"CLUpdate", b"stationary", {"retval": {"type": b"Z"}})
604
+ r(
605
+ b"NSObject",
606
+ b"didReceiveLocationPushPayload:completion:",
607
+ {
608
+ "required": True,
609
+ "retval": {"type": b"v"},
610
+ "arguments": {
611
+ 2: {"type": b"@"},
612
+ 3: {
613
+ "callable": {
614
+ "retval": {"type": b"v"},
615
+ "arguments": {0: {"type": b"^v"}},
616
+ },
617
+ "type": b"@?",
618
+ },
619
+ },
620
+ },
621
+ )
622
+ r(
623
+ b"NSObject",
624
+ b"locationManager:didChangeAuthorizationStatus:",
625
+ {
626
+ "required": False,
627
+ "retval": {"type": b"v"},
628
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"i"}},
629
+ },
630
+ )
631
+ r(
632
+ b"NSObject",
633
+ b"locationManager:didDetermineState:forRegion:",
634
+ {
635
+ "required": False,
636
+ "retval": {"type": b"v"},
637
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"q"}, 4: {"type": b"@"}},
638
+ },
639
+ )
640
+ r(
641
+ b"NSObject",
642
+ b"locationManager:didEnterRegion:",
643
+ {
644
+ "required": False,
645
+ "retval": {"type": b"v"},
646
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
647
+ },
648
+ )
649
+ r(
650
+ b"NSObject",
651
+ b"locationManager:didExitRegion:",
652
+ {
653
+ "required": False,
654
+ "retval": {"type": b"v"},
655
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
656
+ },
657
+ )
658
+ r(
659
+ b"NSObject",
660
+ b"locationManager:didFailRangingBeaconsForConstraint:error:",
661
+ {
662
+ "required": False,
663
+ "retval": {"type": b"v"},
664
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
665
+ },
666
+ )
667
+ r(
668
+ b"NSObject",
669
+ b"locationManager:didFailWithError:",
670
+ {
671
+ "required": False,
672
+ "retval": {"type": b"v"},
673
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
674
+ },
675
+ )
676
+ r(
677
+ b"NSObject",
678
+ b"locationManager:didFinishDeferredUpdatesWithError:",
679
+ {
680
+ "required": False,
681
+ "retval": {"type": b"v"},
682
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
683
+ },
684
+ )
685
+ r(
686
+ b"NSObject",
687
+ b"locationManager:didRangeBeacons:inRegion:",
688
+ {
689
+ "required": False,
690
+ "retval": {"type": b"v"},
691
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
692
+ },
693
+ )
694
+ r(
695
+ b"NSObject",
696
+ b"locationManager:didRangeBeacons:satisfyingConstraint:",
697
+ {
698
+ "required": False,
699
+ "retval": {"type": b"v"},
700
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
701
+ },
702
+ )
703
+ r(
704
+ b"NSObject",
705
+ b"locationManager:didStartMonitoringForRegion:",
706
+ {
707
+ "required": False,
708
+ "retval": {"type": b"v"},
709
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
710
+ },
711
+ )
712
+ r(
713
+ b"NSObject",
714
+ b"locationManager:didUpdateHeading:",
715
+ {
716
+ "required": False,
717
+ "retval": {"type": b"v"},
718
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
719
+ },
720
+ )
721
+ r(
722
+ b"NSObject",
723
+ b"locationManager:didUpdateLocations:",
724
+ {
725
+ "required": False,
726
+ "retval": {"type": b"v"},
727
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
728
+ },
729
+ )
730
+ r(
731
+ b"NSObject",
732
+ b"locationManager:didUpdateToLocation:fromLocation:",
733
+ {
734
+ "required": False,
735
+ "retval": {"type": b"v"},
736
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
737
+ },
738
+ )
739
+ r(
740
+ b"NSObject",
741
+ b"locationManager:didVisit:",
742
+ {
743
+ "required": False,
744
+ "retval": {"type": b"v"},
745
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
746
+ },
747
+ )
748
+ r(
749
+ b"NSObject",
750
+ b"locationManager:monitoringDidFailForRegion:withError:",
751
+ {
752
+ "required": False,
753
+ "retval": {"type": b"v"},
754
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
755
+ },
756
+ )
757
+ r(
758
+ b"NSObject",
759
+ b"locationManager:rangingBeaconsDidFailForRegion:withError:",
760
+ {
761
+ "required": False,
762
+ "retval": {"type": b"v"},
763
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
764
+ },
765
+ )
766
+ r(
767
+ b"NSObject",
768
+ b"locationManagerDidChangeAuthorization:",
769
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
770
+ )
771
+ r(
772
+ b"NSObject",
773
+ b"locationManagerDidPauseLocationUpdates:",
774
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
775
+ )
776
+ r(
777
+ b"NSObject",
778
+ b"locationManagerDidResumeLocationUpdates:",
779
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
780
+ )
781
+ r(
782
+ b"NSObject",
783
+ b"locationManagerShouldDisplayHeadingCalibration:",
784
+ {"required": False, "retval": {"type": b"Z"}, "arguments": {2: {"type": b"@"}}},
785
+ )
786
+ r(
787
+ b"NSObject",
788
+ b"serviceExtensionWillTerminate",
789
+ {"required": False, "retval": {"type": b"v"}},
790
+ )
791
+ finally:
792
+ objc._updatingMetadata(False)
793
+
794
+ objc.registerNewKeywordsFromSelector("CLBeaconIdentityCondition", b"initWithUUID:")
795
+ objc.registerNewKeywordsFromSelector(
796
+ "CLBeaconIdentityCondition", b"initWithUUID:major:"
797
+ )
798
+ objc.registerNewKeywordsFromSelector(
799
+ "CLBeaconIdentityCondition", b"initWithUUID:major:minor:"
800
+ )
801
+ objc.registerNewKeywordsFromSelector("CLBeaconIdentityConstraint", b"initWithUUID:")
802
+ objc.registerNewKeywordsFromSelector(
803
+ "CLBeaconIdentityConstraint", b"initWithUUID:major:"
804
+ )
805
+ objc.registerNewKeywordsFromSelector(
806
+ "CLBeaconIdentityConstraint", b"initWithUUID:major:minor:"
807
+ )
808
+ objc.registerNewKeywordsFromSelector(
809
+ "CLBeaconRegion", b"initWithBeaconIdentityConstraint:identifier:"
810
+ )
811
+ objc.registerNewKeywordsFromSelector(
812
+ "CLBeaconRegion", b"initWithProximityUUID:identifier:"
813
+ )
814
+ objc.registerNewKeywordsFromSelector(
815
+ "CLBeaconRegion", b"initWithProximityUUID:major:identifier:"
816
+ )
817
+ objc.registerNewKeywordsFromSelector(
818
+ "CLBeaconRegion", b"initWithProximityUUID:major:minor:identifier:"
819
+ )
820
+ objc.registerNewKeywordsFromSelector("CLBeaconRegion", b"initWithUUID:identifier:")
821
+ objc.registerNewKeywordsFromSelector(
822
+ "CLBeaconRegion", b"initWithUUID:major:identifier:"
823
+ )
824
+ objc.registerNewKeywordsFromSelector(
825
+ "CLBeaconRegion", b"initWithUUID:major:minor:identifier:"
826
+ )
827
+ objc.registerNewKeywordsFromSelector(
828
+ "CLCircularGeographicCondition", b"initWithCenter:radius:"
829
+ )
830
+ objc.registerNewKeywordsFromSelector(
831
+ "CLCircularRegion", b"initWithCenter:radius:identifier:"
832
+ )
833
+ objc.registerNewKeywordsFromSelector(
834
+ "CLLocation",
835
+ b"initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:",
836
+ )
837
+ objc.registerNewKeywordsFromSelector(
838
+ "CLLocation",
839
+ b"initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:sourceInfo:",
840
+ )
841
+ objc.registerNewKeywordsFromSelector(
842
+ "CLLocation",
843
+ b"initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:speed:timestamp:",
844
+ )
845
+ objc.registerNewKeywordsFromSelector(
846
+ "CLLocation",
847
+ b"initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:timestamp:",
848
+ )
849
+ objc.registerNewKeywordsFromSelector("CLLocation", b"initWithLatitude:longitude:")
850
+ objc.registerNewKeywordsFromSelector(
851
+ "CLLocationSourceInformation",
852
+ b"initWithSoftwareSimulationState:andExternalAccessoryState:",
853
+ )
854
+ objc.registerNewKeywordsFromSelector("CLPlacemark", b"initWithPlacemark:")
855
+ objc.registerNewKeywordsFromSelector(
856
+ "CLRegion", b"initCircularRegionWithCenter:radius:identifier:"
857
+ )
858
+ expressions = {}
859
+
860
+ # END OF FILE
@@ -0,0 +1,10 @@
1
+ (This is the MIT license, note that libffi-src is a separate product with its own license)
2
+
3
+ Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
4
+ Copyright 2003-2024 - Ronald Oussoren
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
+
8
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,59 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyobjc-framework-CoreLocation
3
+ Version: 11.0
4
+ Summary: Wrappers for the framework CoreLocation 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,CoreLocation
10
+ Platform: MacOS X (>=10.6)
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.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
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.9
32
+ Description-Content-Type: text/x-rst; charset=UTF-8
33
+ License-File: LICENSE.txt
34
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
35
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
36
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
37
+ Requires-Dist: pyobjc-core >=11.0
38
+ Requires-Dist: pyobjc-framework-Cocoa >=11.0
39
+
40
+
41
+ Wrappers for framework 'CoreLocation' on macOS 10.6. This framework provides
42
+ an interface for dealing with the physical location of a machine, which allows
43
+ for geo-aware applications.
44
+
45
+ These wrappers don't include documentation, please check Apple's documentation
46
+ for information on how to use this framework and PyObjC's documentation
47
+ for general tips and tricks regarding the translation between Python
48
+ and (Objective-)C frameworks
49
+
50
+
51
+ Project links
52
+ -------------
53
+
54
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
55
+
56
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
57
+
58
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
59
+
@@ -0,0 +1,9 @@
1
+ CoreLocation/_CoreLocation.cpython-313-darwin.so,sha256=TnjKf0q5L4hwmzwpUEq4wa0KoN_EN_45hVJRJ3TIza8,84472
2
+ CoreLocation/__init__.py,sha256=tERvUw6nVkb6ZUVP7CBJQUA7Mck2haMXyGhmMPRFnOs,1466
3
+ CoreLocation/_metadata.py,sha256=20w_XWrf-vnk9tnPBTDPJkrb7ylKf2p3sJJGSdh9Ex8,29109
4
+ pyobjc_framework_CoreLocation-11.0.dist-info/LICENSE.txt,sha256=VBYOCJp5HziM90a14Txl68gt3y2rIJpcoZAoVkfX4Ho,1249
5
+ pyobjc_framework_CoreLocation-11.0.dist-info/METADATA,sha256=v_OFVebILdfsoHLcppnMcmDChjIiRF4QAXArLfIUlZc,2408
6
+ pyobjc_framework_CoreLocation-11.0.dist-info/WHEEL,sha256=BaDLO86rtLHw1JImJZ9x0AYN59zASvSeL7zhuB6KJ20,116
7
+ pyobjc_framework_CoreLocation-11.0.dist-info/pyobjc-build-info.txt,sha256=R5YEsJoyZ8GByMQk4k_4WWEg6V4RNO715NMQwx6YaNI,85
8
+ pyobjc_framework_CoreLocation-11.0.dist-info/top_level.txt,sha256=ofqEl-EuGtkMOcxPfHjFCX_xKt9OWt1c5464Sc5egCE,13
9
+ pyobjc_framework_CoreLocation-11.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.43.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-macosx_10_13_universal2
5
+
@@ -0,0 +1,3 @@
1
+ macOS 15.3 (24D5040f)
2
+ Apple clang version 16.0.0 (clang-1600.0.26.6)
3
+ SDK: macOS 15.2
@@ -0,0 +1 @@
1
+ CoreLocation