pyobjc-framework-HealthKit 10.3.2__tar.gz → 11.1__tar.gz
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.
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/Lib/HealthKit/__init__.py +4 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/Lib/HealthKit/_metadata.py +131 -10
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/Lib/pyobjc_framework_HealthKit.egg-info/PKG-INFO +19 -8
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/Lib/pyobjc_framework_HealthKit.egg-info/SOURCES.txt +14 -1
- pyobjc_framework_healthkit-11.1/Lib/pyobjc_framework_HealthKit.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_healthkit-11.1/Lib/pyobjc_framework_HealthKit.egg-info/requires.txt +2 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/License.txt +1 -1
- pyobjc_framework_healthkit-11.1/Modules/_HealthKit.m +67 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/Modules/pyobjc-api.h +1 -1
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/Modules/pyobjc-compat.h +175 -7
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PKG-INFO +19 -8
- pyobjc_framework_healthkit-11.1/PyObjCTest/__init__.py +1 -0
- pyobjc_framework_healthkit-11.1/PyObjCTest/test_hkactivitysummary.py +12 -0
- pyobjc_framework_healthkit-11.1/PyObjCTest/test_hkapplesleepingbreathingdisturbancesclassification.py +20 -0
- pyobjc_framework_healthkit-11.1/PyObjCTest/test_hkaudiogramsensitivitypoint.py +18 -0
- pyobjc_framework_healthkit-11.1/PyObjCTest/test_hkaudiogramsensitivitypointclampingrange.py +11 -0
- pyobjc_framework_healthkit-11.1/PyObjCTest/test_hkaudiogramsensitivitytest.py +25 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkcategoryvalues.py +7 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkdefines.py +1 -0
- pyobjc_framework_healthkit-11.1/PyObjCTest/test_hkgad7assessment.py +17 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkhealthstore.py +16 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkmetadata.py +6 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkobject.py +7 -1
- pyobjc_framework_healthkit-11.1/PyObjCTest/test_hkphq9assessment.py +19 -0
- pyobjc_framework_healthkit-11.1/PyObjCTest/test_hkstateofmind.py +82 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hktypeidentifiers.py +37 -0
- pyobjc_framework_healthkit-11.1/PyObjCTest/test_hkworkouteffortrelationshipquery.py +19 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/metadata/HealthKit.fwinfo +47 -1
- pyobjc_framework_healthkit-11.1/metadata/raw/arm64-15.0.fwinfo +16119 -0
- pyobjc_framework_healthkit-11.1/metadata/raw/arm64-15.2.fwinfo +16498 -0
- pyobjc_framework_healthkit-11.1/metadata/raw/x86_64-15.0.fwinfo +16119 -0
- pyobjc_framework_healthkit-11.1/metadata/raw/x86_64-15.2.fwinfo +16498 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/pyobjc_setup.py +73 -53
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/setup.py +1 -3
- pyobjc_framework_healthkit-10.3.2/Lib/pyobjc_framework_HealthKit.egg-info/requires.txt +0 -2
- pyobjc_framework_healthkit-10.3.2/Modules/_HealthKit.m +0 -38
- pyobjc_framework_healthkit-10.3.2/PyObjCTest/__init__.py +0 -1
- pyobjc_framework_healthkit-10.3.2/PyObjCTest/test_hkactivitysummary.py +0 -7
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/Lib/pyobjc_framework_HealthKit.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/Lib/pyobjc_framework_HealthKit.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/Lib/pyobjc_framework_HealthKit.egg-info/top_level.txt +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/MANIFEST.in +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/Modules/_HealthKit_protocols.m +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_healthkit.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkactivitysummaryquery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkanchoredobjectquery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkapplewalkingsteadinessclassification.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkattachmentstore.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkaudiogramsample.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkcategorysample.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkcdadocumentsample.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkcharacteristicvalues.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkclinicalrecord.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkclinicaltype.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkcorrelationquery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkcumulativequantitysample.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkdevice.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkdiscretequantitysample.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkdocumentquery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkelectrocardiogram.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkelectrocardiogramquery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkfhirrelease.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkfhirresource.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkfhirversion.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkheartbeatseriesbuilder.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkheartbeatseriesquery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkliveworkoutbuilder.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkobjecttype.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkobserverquery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkquantity.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkquantityaggregationstyle.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkquantitysample.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkquantityseriessamplebuilder.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkquantityseriessamplequery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkquery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hksample.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hksamplequery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hksourcequery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hksourcerevision.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkstatistics.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkstatisticscollectionquery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkstatisticsquery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkunit.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkverifiableclinicalrecord.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkverifiableclinicalrecordquery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkvisionprescription.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkvisionprism.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkworkout.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkworkoutactivity.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkworkoutbuilder.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkworkoutconfiguration.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkworkoutroutebuilder.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkworkoutroutequery.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/PyObjCTest/test_hkworkoutsession.py +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/metadata/metadata.ini +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/metadata/raw/arm64-13.3.fwinfo +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/metadata/raw/arm64-14.5.fwinfo +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/metadata/raw/x86_64-13.3.fwinfo +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/metadata/raw/x86_64-14.5.fwinfo +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/pyproject.toml +0 -0
- {pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/setup.cfg +0 -0
{pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/Lib/HealthKit/__init__.py
RENAMED
|
@@ -91,6 +91,10 @@ def _setup():
|
|
|
91
91
|
("HKStatisticsCollection", b"init"),
|
|
92
92
|
("HKGlassesLensSpecification", b"init"),
|
|
93
93
|
("HKGlassesLensSpecification", b"new"),
|
|
94
|
+
("HKAudiogramSensitivityPointClampingRange", b"init"),
|
|
95
|
+
("HKAudiogramSensitivityPointClampingRange", b"new"),
|
|
96
|
+
("HKAudiogramSensitivityTes", b"init"),
|
|
97
|
+
("HKAudiogramSensitivityTes", b"new"),
|
|
94
98
|
):
|
|
95
99
|
objc.registerUnavailableMethod(cls, sel)
|
|
96
100
|
|
{pyobjc_framework_healthkit-10.3.2 → pyobjc_framework_healthkit-11.1}/Lib/HealthKit/_metadata.py
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update:
|
|
3
|
+
# Last update: Fri Nov 15 12:36:01 2024
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -30,8 +30,8 @@ else:
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
misc = {}
|
|
33
|
-
constants = """$HKCategoryTypeIdentifierAbdominalCramps$HKCategoryTypeIdentifierAcne$HKCategoryTypeIdentifierAppetiteChanges$HKCategoryTypeIdentifierAppleStandHour$HKCategoryTypeIdentifierAppleWalkingSteadinessEvent$HKCategoryTypeIdentifierAudioExposureEvent$HKCategoryTypeIdentifierBladderIncontinence$HKCategoryTypeIdentifierBloating$HKCategoryTypeIdentifierBreastPain$HKCategoryTypeIdentifierCervicalMucusQuality$HKCategoryTypeIdentifierChestTightnessOrPain$HKCategoryTypeIdentifierChills$HKCategoryTypeIdentifierConstipation$HKCategoryTypeIdentifierContraceptive$HKCategoryTypeIdentifierCoughing$HKCategoryTypeIdentifierDiarrhea$HKCategoryTypeIdentifierDizziness$HKCategoryTypeIdentifierDrySkin$HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent$HKCategoryTypeIdentifierFainting$HKCategoryTypeIdentifierFatigue$HKCategoryTypeIdentifierFever$HKCategoryTypeIdentifierGeneralizedBodyAche$HKCategoryTypeIdentifierHairLoss$HKCategoryTypeIdentifierHandwashingEvent$HKCategoryTypeIdentifierHeadache$HKCategoryTypeIdentifierHeadphoneAudioExposureEvent$HKCategoryTypeIdentifierHeartburn$HKCategoryTypeIdentifierHighHeartRateEvent$HKCategoryTypeIdentifierHotFlashes$HKCategoryTypeIdentifierInfrequentMenstrualCycles$HKCategoryTypeIdentifierIntermenstrualBleeding$HKCategoryTypeIdentifierIrregularHeartRhythmEvent$HKCategoryTypeIdentifierIrregularMenstrualCycles$HKCategoryTypeIdentifierLactation$HKCategoryTypeIdentifierLossOfSmell$HKCategoryTypeIdentifierLossOfTaste$HKCategoryTypeIdentifierLowCardioFitnessEvent$HKCategoryTypeIdentifierLowHeartRateEvent$HKCategoryTypeIdentifierLowerBackPain$HKCategoryTypeIdentifierMemoryLapse$HKCategoryTypeIdentifierMenstrualFlow$HKCategoryTypeIdentifierMindfulSession$HKCategoryTypeIdentifierMoodChanges$HKCategoryTypeIdentifierNausea$HKCategoryTypeIdentifierNightSweats$HKCategoryTypeIdentifierOvulationTestResult$HKCategoryTypeIdentifierPelvicPain$HKCategoryTypeIdentifierPersistentIntermenstrualBleeding$HKCategoryTypeIdentifierPregnancy$HKCategoryTypeIdentifierPregnancyTestResult$HKCategoryTypeIdentifierProgesteroneTestResult$HKCategoryTypeIdentifierProlongedMenstrualPeriods$HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat$HKCategoryTypeIdentifierRunnyNose$HKCategoryTypeIdentifierSexualActivity$HKCategoryTypeIdentifierShortnessOfBreath$HKCategoryTypeIdentifierSinusCongestion$HKCategoryTypeIdentifierSkippedHeartbeat$HKCategoryTypeIdentifierSleepAnalysis$HKCategoryTypeIdentifierSleepChanges$HKCategoryTypeIdentifierSoreThroat$HKCategoryTypeIdentifierToothbrushingEvent$HKCategoryTypeIdentifierVaginalDryness$HKCategoryTypeIdentifierVomiting$HKCategoryTypeIdentifierWheezing$HKCharacteristicTypeIdentifierActivityMoveMode$HKCharacteristicTypeIdentifierBiologicalSex$HKCharacteristicTypeIdentifierBloodType$HKCharacteristicTypeIdentifierDateOfBirth$HKCharacteristicTypeIdentifierFitzpatrickSkinType$HKCharacteristicTypeIdentifierWheelchairUse$HKClinicalTypeIdentifierAllergyRecord$HKClinicalTypeIdentifierClinicalNoteRecord$HKClinicalTypeIdentifierConditionRecord$HKClinicalTypeIdentifierCoverageRecord$HKClinicalTypeIdentifierImmunizationRecord$HKClinicalTypeIdentifierLabResultRecord$HKClinicalTypeIdentifierMedicationRecord$HKClinicalTypeIdentifierProcedureRecord$HKClinicalTypeIdentifierVitalSignRecord$HKCorrelationTypeIdentifierBloodPressure$HKCorrelationTypeIdentifierFood$HKDataTypeIdentifierHeartbeatSeries$HKDetailedCDAValidationErrorKey$HKDevicePropertyKeyFirmwareVersion$HKDevicePropertyKeyHardwareVersion$HKDevicePropertyKeyLocalIdentifier$HKDevicePropertyKeyManufacturer$HKDevicePropertyKeyModel$HKDevicePropertyKeyName$HKDevicePropertyKeySoftwareVersion$HKDevicePropertyKeyUDIDeviceIdentifier$HKDocumentTypeIdentifierCDA$HKErrorDomain$HKFHIRReleaseDSTU2$HKFHIRReleaseR4$HKFHIRReleaseUnknown$HKFHIRResourceTypeAllergyIntolerance$HKFHIRResourceTypeCondition$HKFHIRResourceTypeCoverage$HKFHIRResourceTypeDiagnosticReport$HKFHIRResourceTypeDocumentReference$HKFHIRResourceTypeImmunization$HKFHIRResourceTypeMedicationDispense$HKFHIRResourceTypeMedicationOrder$HKFHIRResourceTypeMedicationRequest$HKFHIRResourceTypeMedicationStatement$HKFHIRResourceTypeObservation$HKFHIRResourceTypeProcedure$HKMetadataKeyActivityType$HKMetadataKeyAlgorithmVersion$HKMetadataKeyAlpineSlopeGrade$HKMetadataKeyAppleDeviceCalibrated$HKMetadataKeyAppleECGAlgorithmVersion$HKMetadataKeyAppleFitnessPlusSession$HKMetadataKeyAudioExposureDuration$HKMetadataKeyAudioExposureLevel$HKMetadataKeyAverageMETs$HKMetadataKeyAverageSpeed$HKMetadataKeyBarometricPressure$HKMetadataKeyBloodGlucoseMealTime$HKMetadataKeyBodyTemperatureSensorLocation$HKMetadataKeyCoachedWorkout$HKMetadataKeyCrossTrainerDistance$HKMetadataKeyCyclingFunctionalThresholdPowerTestType$HKMetadataKeyDateOfEarliestDataUsedForEstimate$HKMetadataKeyDeviceManufacturerName$HKMetadataKeyDeviceName$HKMetadataKeyDevicePlacementSide$HKMetadataKeyDeviceSerialNumber$HKMetadataKeyDigitalSignature$HKMetadataKeyElevationAscended$HKMetadataKeyElevationDescended$HKMetadataKeyExternalUUID$HKMetadataKeyFitnessMachineDuration$HKMetadataKeyFoodType$HKMetadataKeyGlassesPrescriptionDescription$HKMetadataKeyGroupFitness$HKMetadataKeyHeadphoneGain$HKMetadataKeyHeartRateEventThreshold$HKMetadataKeyHeartRateMotionContext$HKMetadataKeyHeartRateRecoveryActivityDuration$HKMetadataKeyHeartRateRecoveryActivityType$HKMetadataKeyHeartRateRecoveryMaxObservedRecoveryHeartRate$HKMetadataKeyHeartRateRecoveryTestType$HKMetadataKeyHeartRateSensorLocation$HKMetadataKeyIndoorBikeDistance$HKMetadataKeyIndoorWorkout$HKMetadataKeyInsulinDeliveryReason$HKMetadataKeyLapLength$HKMetadataKeyLowCardioFitnessEventThreshold$HKMetadataKeyMaximumLightIntensity$HKMetadataKeyMaximumSpeed$HKMetadataKeyMenstrualCycleStart$HKMetadataKeyPhysicalEffortEstimationType$HKMetadataKeyQuantityClampedToLowerBound$HKMetadataKeyQuantityClampedToUpperBound$HKMetadataKeyReferenceRangeLowerLimit$HKMetadataKeyReferenceRangeUpperLimit$HKMetadataKeySWOLFScore$HKMetadataKeySessionEstimate$HKMetadataKeySexualActivityProtectionUsed$HKMetadataKeySwimmingLocationType$HKMetadataKeySwimmingStrokeStyle$HKMetadataKeySyncIdentifier$HKMetadataKeySyncVersion$HKMetadataKeyTimeZone$HKMetadataKeyUDIDeviceIdentifier$HKMetadataKeyUDIProductionIdentifier$HKMetadataKeyUserMotionContext$HKMetadataKeyVO2MaxTestType$HKMetadataKeyVO2MaxValue$HKMetadataKeyWasTakenInLab$HKMetadataKeyWasUserEntered$HKMetadataKeyWaterSalinity$HKMetadataKeyWeatherCondition$HKMetadataKeyWeatherHumidity$HKMetadataKeyWeatherTemperature$HKMetadataKeyWorkoutBrandName$HKPredicateKeyPathAverage$HKPredicateKeyPathAverageHeartRate$HKPredicateKeyPathCDAAuthorName$HKPredicateKeyPathCDACustodianName$HKPredicateKeyPathCDAPatientName$HKPredicateKeyPathCDATitle$HKPredicateKeyPathCategoryValue$HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier$HKPredicateKeyPathClinicalRecordFHIRResourceType$HKPredicateKeyPathCorrelation$HKPredicateKeyPathCount$HKPredicateKeyPathDateComponents$HKPredicateKeyPathDevice$HKPredicateKeyPathECGClassification$HKPredicateKeyPathECGSymptomsStatus$HKPredicateKeyPathEndDate$HKPredicateKeyPathMax$HKPredicateKeyPathMetadata$HKPredicateKeyPathMin$HKPredicateKeyPathMostRecent$HKPredicateKeyPathMostRecentDuration$HKPredicateKeyPathMostRecentEndDate$HKPredicateKeyPathMostRecentStartDate$HKPredicateKeyPathQuantity$HKPredicateKeyPathSource$HKPredicateKeyPathSourceRevision$HKPredicateKeyPathStartDate$HKPredicateKeyPathSum$HKPredicateKeyPathUUID$HKPredicateKeyPathWorkout$HKPredicateKeyPathWorkoutActivity$HKPredicateKeyPathWorkoutActivityAverageQuantity$HKPredicateKeyPathWorkoutActivityDuration$HKPredicateKeyPathWorkoutActivityEndDate$HKPredicateKeyPathWorkoutActivityMaximumQuantity$HKPredicateKeyPathWorkoutActivityMinimumQuantity$HKPredicateKeyPathWorkoutActivityStartDate$HKPredicateKeyPathWorkoutActivitySumQuantity$HKPredicateKeyPathWorkoutActivityType$HKPredicateKeyPathWorkoutAverageQuantity$HKPredicateKeyPathWorkoutDuration$HKPredicateKeyPathWorkoutMaximumQuantity$HKPredicateKeyPathWorkoutMinimumQuantity$HKPredicateKeyPathWorkoutSumQuantity$HKPredicateKeyPathWorkoutTotalDistance$HKPredicateKeyPathWorkoutTotalEnergyBurned$HKPredicateKeyPathWorkoutTotalFlightsClimbed$HKPredicateKeyPathWorkoutTotalSwimmingStrokeCount$HKPredicateKeyPathWorkoutType$HKQuantityTypeIdentifierActiveEnergyBurned$HKQuantityTypeIdentifierAppleExerciseTime$HKQuantityTypeIdentifierAppleMoveTime$HKQuantityTypeIdentifierAppleSleepingWristTemperature$HKQuantityTypeIdentifierAppleStandTime$HKQuantityTypeIdentifierAppleWalkingSteadiness$HKQuantityTypeIdentifierAtrialFibrillationBurden$HKQuantityTypeIdentifierBasalBodyTemperature$HKQuantityTypeIdentifierBasalEnergyBurned$HKQuantityTypeIdentifierBloodAlcoholContent$HKQuantityTypeIdentifierBloodGlucose$HKQuantityTypeIdentifierBloodPressureDiastolic$HKQuantityTypeIdentifierBloodPressureSystolic$HKQuantityTypeIdentifierBodyFatPercentage$HKQuantityTypeIdentifierBodyMass$HKQuantityTypeIdentifierBodyMassIndex$HKQuantityTypeIdentifierBodyTemperature$HKQuantityTypeIdentifierCyclingCadence$HKQuantityTypeIdentifierCyclingFunctionalThresholdPower$HKQuantityTypeIdentifierCyclingPower$HKQuantityTypeIdentifierCyclingSpeed$HKQuantityTypeIdentifierDietaryBiotin$HKQuantityTypeIdentifierDietaryCaffeine$HKQuantityTypeIdentifierDietaryCalcium$HKQuantityTypeIdentifierDietaryCarbohydrates$HKQuantityTypeIdentifierDietaryChloride$HKQuantityTypeIdentifierDietaryCholesterol$HKQuantityTypeIdentifierDietaryChromium$HKQuantityTypeIdentifierDietaryCopper$HKQuantityTypeIdentifierDietaryEnergyConsumed$HKQuantityTypeIdentifierDietaryFatMonounsaturated$HKQuantityTypeIdentifierDietaryFatPolyunsaturated$HKQuantityTypeIdentifierDietaryFatSaturated$HKQuantityTypeIdentifierDietaryFatTotal$HKQuantityTypeIdentifierDietaryFiber$HKQuantityTypeIdentifierDietaryFolate$HKQuantityTypeIdentifierDietaryIodine$HKQuantityTypeIdentifierDietaryIron$HKQuantityTypeIdentifierDietaryMagnesium$HKQuantityTypeIdentifierDietaryManganese$HKQuantityTypeIdentifierDietaryMolybdenum$HKQuantityTypeIdentifierDietaryNiacin$HKQuantityTypeIdentifierDietaryPantothenicAcid$HKQuantityTypeIdentifierDietaryPhosphorus$HKQuantityTypeIdentifierDietaryPotassium$HKQuantityTypeIdentifierDietaryProtein$HKQuantityTypeIdentifierDietaryRiboflavin$HKQuantityTypeIdentifierDietarySelenium$HKQuantityTypeIdentifierDietarySodium$HKQuantityTypeIdentifierDietarySugar$HKQuantityTypeIdentifierDietaryThiamin$HKQuantityTypeIdentifierDietaryVitaminA$HKQuantityTypeIdentifierDietaryVitaminB12$HKQuantityTypeIdentifierDietaryVitaminB6$HKQuantityTypeIdentifierDietaryVitaminC$HKQuantityTypeIdentifierDietaryVitaminD$HKQuantityTypeIdentifierDietaryVitaminE$HKQuantityTypeIdentifierDietaryVitaminK$HKQuantityTypeIdentifierDietaryWater$HKQuantityTypeIdentifierDietaryZinc$HKQuantityTypeIdentifierDistanceCycling$HKQuantityTypeIdentifierDistanceDownhillSnowSports$HKQuantityTypeIdentifierDistanceSwimming$HKQuantityTypeIdentifierDistanceWalkingRunning$HKQuantityTypeIdentifierDistanceWheelchair$HKQuantityTypeIdentifierElectrodermalActivity$HKQuantityTypeIdentifierEnvironmentalAudioExposure$HKQuantityTypeIdentifierEnvironmentalSoundReduction$HKQuantityTypeIdentifierFlightsClimbed$HKQuantityTypeIdentifierForcedExpiratoryVolume1$HKQuantityTypeIdentifierForcedVitalCapacity$HKQuantityTypeIdentifierHeadphoneAudioExposure$HKQuantityTypeIdentifierHeartRate$HKQuantityTypeIdentifierHeartRateRecoveryOneMinute$HKQuantityTypeIdentifierHeartRateVariabilitySDNN$HKQuantityTypeIdentifierHeight$HKQuantityTypeIdentifierInhalerUsage$HKQuantityTypeIdentifierInsulinDelivery$HKQuantityTypeIdentifierLeanBodyMass$HKQuantityTypeIdentifierNikeFuel$HKQuantityTypeIdentifierNumberOfAlcoholicBeverages$HKQuantityTypeIdentifierNumberOfTimesFallen$HKQuantityTypeIdentifierOxygenSaturation$HKQuantityTypeIdentifierPeakExpiratoryFlowRate$HKQuantityTypeIdentifierPeripheralPerfusionIndex$HKQuantityTypeIdentifierPhysicalEffort$HKQuantityTypeIdentifierPushCount$HKQuantityTypeIdentifierRespiratoryRate$HKQuantityTypeIdentifierRestingHeartRate$HKQuantityTypeIdentifierRunningGroundContactTime$HKQuantityTypeIdentifierRunningPower$HKQuantityTypeIdentifierRunningSpeed$HKQuantityTypeIdentifierRunningStrideLength$HKQuantityTypeIdentifierRunningVerticalOscillation$HKQuantityTypeIdentifierSixMinuteWalkTestDistance$HKQuantityTypeIdentifierStairAscentSpeed$HKQuantityTypeIdentifierStairDescentSpeed$HKQuantityTypeIdentifierStepCount$HKQuantityTypeIdentifierSwimmingStrokeCount$HKQuantityTypeIdentifierTimeInDaylight$HKQuantityTypeIdentifierUVExposure$HKQuantityTypeIdentifierUnderwaterDepth$HKQuantityTypeIdentifierVO2Max$HKQuantityTypeIdentifierWaistCircumference$HKQuantityTypeIdentifierWalkingAsymmetryPercentage$HKQuantityTypeIdentifierWalkingDoubleSupportPercentage$HKQuantityTypeIdentifierWalkingHeartRateAverage$HKQuantityTypeIdentifierWalkingSpeed$HKQuantityTypeIdentifierWalkingStepLength$HKQuantityTypeIdentifierWaterTemperature$HKSampleSortIdentifierEndDate$HKSampleSortIdentifierStartDate$HKSourceRevisionAnyOperatingSystem@{NSOperatingSystemVersion=qqq}$HKSourceRevisionAnyProductType$HKSourceRevisionAnyVersion$HKUserPreferencesDidChangeNotification$HKVerifiableClinicalRecordCredentialTypeCOVID19$HKVerifiableClinicalRecordCredentialTypeImmunization$HKVerifiableClinicalRecordCredentialTypeLaboratory$HKVerifiableClinicalRecordCredentialTypeRecovery$HKVerifiableClinicalRecordSourceTypeEUDigitalCOVIDCertificate$HKVerifiableClinicalRecordSourceTypeSMARTHealthCard$HKVisionPrescriptionTypeIdentifier$HKWorkoutRouteTypeIdentifier$HKWorkoutSortIdentifierDuration$HKWorkoutSortIdentifierTotalDistance$HKWorkoutSortIdentifierTotalEnergyBurned$HKWorkoutSortIdentifierTotalFlightsClimbed$HKWorkoutSortIdentifierTotalSwimmingStrokeCount$HKWorkoutTypeIdentifier$"""
|
|
34
|
-
enums = """$HKActivityMoveModeActiveEnergy@1$HKActivityMoveModeAppleMoveTime@2$HKAnchoredObjectQueryNoAnchor@0$HKAppleECGAlgorithmVersion1@1$HKAppleECGAlgorithmVersion2@2$HKAppleWalkingSteadinessClassificationLow@2$HKAppleWalkingSteadinessClassificationOK@1$HKAppleWalkingSteadinessClassificationVeryLow@3$HKAuthorizationRequestStatusShouldRequest@1$HKAuthorizationRequestStatusUnknown@0$HKAuthorizationRequestStatusUnnecessary@2$HKAuthorizationStatusNotDetermined@0$HKAuthorizationStatusSharingAuthorized@2$HKAuthorizationStatusSharingDenied@1$HKBiologicalSexFemale@1$HKBiologicalSexMale@2$HKBiologicalSexNotSet@0$HKBiologicalSexOther@3$HKBloodGlucoseMealTimePostprandial@2$HKBloodGlucoseMealTimePreprandial@1$HKBloodTypeABNegative@6$HKBloodTypeABPositive@5$HKBloodTypeANegative@2$HKBloodTypeAPositive@1$HKBloodTypeBNegative@4$HKBloodTypeBPositive@3$HKBloodTypeNotSet@0$HKBloodTypeONegative@8$HKBloodTypeOPositive@7$HKBodyTemperatureSensorLocationArmpit@1$HKBodyTemperatureSensorLocationBody@2$HKBodyTemperatureSensorLocationEar@3$HKBodyTemperatureSensorLocationEarDrum@9$HKBodyTemperatureSensorLocationFinger@4$HKBodyTemperatureSensorLocationForehead@11$HKBodyTemperatureSensorLocationGastroIntestinal@5$HKBodyTemperatureSensorLocationMouth@6$HKBodyTemperatureSensorLocationOther@0$HKBodyTemperatureSensorLocationRectum@7$HKBodyTemperatureSensorLocationTemporalArtery@10$HKBodyTemperatureSensorLocationToe@8$HKCategoryValueAppetiteChangesDecreased@2$HKCategoryValueAppetiteChangesIncreased@3$HKCategoryValueAppetiteChangesNoChange@1$HKCategoryValueAppetiteChangesUnspecified@0$HKCategoryValueAppleStandHourIdle@1$HKCategoryValueAppleStandHourStood@0$HKCategoryValueAppleWalkingSteadinessEventInitialLow@1$HKCategoryValueAppleWalkingSteadinessEventInitialVeryLow@2$HKCategoryValueAppleWalkingSteadinessEventRepeatLow@3$HKCategoryValueAppleWalkingSteadinessEventRepeatVeryLow@4$HKCategoryValueAudioExposureEventLoudEnvironment@1$HKCategoryValueCervicalMucusQualityCreamy@3$HKCategoryValueCervicalMucusQualityDry@1$HKCategoryValueCervicalMucusQualityEggWhite@5$HKCategoryValueCervicalMucusQualitySticky@2$HKCategoryValueCervicalMucusQualityWatery@4$HKCategoryValueContraceptiveImplant@2$HKCategoryValueContraceptiveInjection@3$HKCategoryValueContraceptiveIntrauterineDevice@4$HKCategoryValueContraceptiveIntravaginalRing@5$HKCategoryValueContraceptiveOral@6$HKCategoryValueContraceptivePatch@7$HKCategoryValueContraceptiveUnspecified@1$HKCategoryValueEnvironmentalAudioExposureEventMomentaryLimit@1$HKCategoryValueHeadphoneAudioExposureEventSevenDayLimit@1$HKCategoryValueLowCardioFitnessEventLowFitness@1$HKCategoryValueMenstrualFlowHeavy@4$HKCategoryValueMenstrualFlowLight@2$HKCategoryValueMenstrualFlowMedium@3$HKCategoryValueMenstrualFlowNone@5$HKCategoryValueMenstrualFlowUnspecified@1$HKCategoryValueNotApplicable@0$HKCategoryValueOvulationTestResultEstrogenSurge@4$HKCategoryValueOvulationTestResultIndeterminate@3$HKCategoryValueOvulationTestResultLuteinizingHormoneSurge@2$HKCategoryValueOvulationTestResultNegative@1$HKCategoryValueOvulationTestResultPositive@2$HKCategoryValuePregnancyTestResultIndeterminate@3$HKCategoryValuePregnancyTestResultNegative@1$HKCategoryValuePregnancyTestResultPositive@2$HKCategoryValuePresenceNotPresent@1$HKCategoryValuePresencePresent@0$HKCategoryValueProgesteroneTestResultIndeterminate@3$HKCategoryValueProgesteroneTestResultNegative@1$HKCategoryValueProgesteroneTestResultPositive@2$HKCategoryValueSeverityMild@2$HKCategoryValueSeverityModerate@3$HKCategoryValueSeverityNotPresent@1$HKCategoryValueSeveritySevere@4$HKCategoryValueSeverityUnspecified@0$HKCategoryValueSleepAnalysisAsleep@1$HKCategoryValueSleepAnalysisAsleepCore@3$HKCategoryValueSleepAnalysisAsleepDeep@4$HKCategoryValueSleepAnalysisAsleepREM@5$HKCategoryValueSleepAnalysisAsleepUnspecified@1$HKCategoryValueSleepAnalysisAwake@2$HKCategoryValueSleepAnalysisInBed@0$HKCyclingFunctionalThresholdPowerTestTypeMaxExercise20Minute@2$HKCyclingFunctionalThresholdPowerTestTypeMaxExercise60Minute@1$HKCyclingFunctionalThresholdPowerTestTypePredictionExercise@4$HKCyclingFunctionalThresholdPowerTestTypeRampTest@3$HKDevicePlacementSideCentral@3$HKDevicePlacementSideLeft@1$HKDevicePlacementSideRight@2$HKDevicePlacementSideUnknown@0$HKElectrocardiogramClassificationAtrialFibrillation@2$HKElectrocardiogramClassificationInconclusiveHighHeartRate@4$HKElectrocardiogramClassificationInconclusiveLowHeartRate@3$HKElectrocardiogramClassificationInconclusiveOther@6$HKElectrocardiogramClassificationInconclusivePoorReading@5$HKElectrocardiogramClassificationNotSet@0$HKElectrocardiogramClassificationSinusRhythm@1$HKElectrocardiogramClassificationUnrecognized@100$HKElectrocardiogramLeadAppleWatchSimilarToLeadI@1$HKElectrocardiogramSymptomsStatusNone@1$HKElectrocardiogramSymptomsStatusNotSet@0$HKElectrocardiogramSymptomsStatusPresent@2$HKErrorAnotherWorkoutSessionStarted@8$HKErrorAuthorizationDenied@4$HKErrorAuthorizationNotDetermined@5$HKErrorBackgroundWorkoutSessionNotAllowed@14$HKErrorDataSizeExceeded@13$HKErrorDatabaseInaccessible@6$HKErrorHealthDataRestricted@2$HKErrorHealthDataUnavailable@1$HKErrorInvalidArgument@3$HKErrorNoData@11$HKErrorRequiredAuthorizationDenied@10$HKErrorUserCanceled@7$HKErrorUserExitedWorkoutSession@9$HKErrorWorkoutActivityNotAllowed@12$HKFitzpatrickSkinTypeI@1$HKFitzpatrickSkinTypeII@2$HKFitzpatrickSkinTypeIII@3$HKFitzpatrickSkinTypeIV@4$HKFitzpatrickSkinTypeNotSet@0$HKFitzpatrickSkinTypeV@5$HKFitzpatrickSkinTypeVI@6$HKHeartRateMotionContextActive@2$HKHeartRateMotionContextNotSet@0$HKHeartRateMotionContextSedentary@1$HKHeartRateRecoveryTestTypeMaxExercise@1$HKHeartRateRecoveryTestTypePredictionNonExercise@3$HKHeartRateRecoveryTestTypePredictionSubMaxExercise@2$HKHeartRateSensorLocationChest@1$HKHeartRateSensorLocationEarLobe@5$HKHeartRateSensorLocationFinger@3$HKHeartRateSensorLocationFoot@6$HKHeartRateSensorLocationHand@4$HKHeartRateSensorLocationOther@0$HKHeartRateSensorLocationWrist@2$HKInsulinDeliveryReasonBasal@1$HKInsulinDeliveryReasonBolus@2$HKMetricPrefixCenti@5$HKMetricPrefixDeca@7$HKMetricPrefixDeci@6$HKMetricPrefixFemto@13$HKMetricPrefixGiga@11$HKMetricPrefixHecto@8$HKMetricPrefixKilo@9$HKMetricPrefixMega@10$HKMetricPrefixMicro@3$HKMetricPrefixMilli@4$HKMetricPrefixNano@2$HKMetricPrefixNone@0$HKMetricPrefixPico@1$HKMetricPrefixTera@12$HKNoError@0$HKObjectQueryNoLimit@0$HKPhysicalEffortEstimationTypeActivityLookup@1$HKPhysicalEffortEstimationTypeDeviceSensed@2$HKPrismBaseDown@2$HKPrismBaseIn@3$HKPrismBaseNone@0$HKPrismBaseOut@4$HKPrismBaseUp@1$HKQuantityAggregationStyleCumulative@0$HKQuantityAggregationStyleDiscrete@1$HKQuantityAggregationStyleDiscreteArithmetic@1$HKQuantityAggregationStyleDiscreteEquivalentContinuousLevel@3$HKQuantityAggregationStyleDiscreteTemporallyWeighted@2$HKQueryOptionNone@0$HKQueryOptionStrictEndDate@2$HKQueryOptionStrictStartDate@1$HKStatisticsOptionCumulativeSum@16$HKStatisticsOptionDiscreteAverage@2$HKStatisticsOptionDiscreteMax@8$HKStatisticsOptionDiscreteMin@4$HKStatisticsOptionDiscreteMostRecent@32$HKStatisticsOptionDuration@64$HKStatisticsOptionMostRecent@32$HKStatisticsOptionNone@0$HKStatisticsOptionSeparateBySource@1$HKSwimmingStrokeStyleBackstroke@3$HKSwimmingStrokeStyleBreaststroke@4$HKSwimmingStrokeStyleButterfly@5$HKSwimmingStrokeStyleFreestyle@2$HKSwimmingStrokeStyleKickboard@6$HKSwimmingStrokeStyleMixed@1$HKSwimmingStrokeStyleUnknown@0$HKUnknownError@0$HKUpdateFrequencyDaily@3$HKUpdateFrequencyHourly@2$HKUpdateFrequencyImmediate@1$HKUpdateFrequencyWeekly@4$HKUserMotionContextActive@2$HKUserMotionContextNotSet@0$HKUserMotionContextStationary@1$HKVO2MaxTestTypeMaxExercise@1$HKVO2MaxTestTypePredictionNonExercise@3$HKVO2MaxTestTypePredictionSubMaxExercise@2$HKVisionEyeLeft@1$HKVisionEyeRight@2$HKVisionPrescriptionTypeContacts@2$HKVisionPrescriptionTypeGlasses@1$HKWaterSalinityFreshWater@1$HKWaterSalinitySaltWater@2$HKWeatherConditionBlustery@9$HKWeatherConditionClear@1$HKWeatherConditionCloudy@5$HKWeatherConditionDrizzle@21$HKWeatherConditionDust@11$HKWeatherConditionFair@2$HKWeatherConditionFoggy@6$HKWeatherConditionFreezingDrizzle@15$HKWeatherConditionFreezingRain@16$HKWeatherConditionHail@13$HKWeatherConditionHaze@7$HKWeatherConditionHurricane@26$HKWeatherConditionMixedRainAndHail@17$HKWeatherConditionMixedRainAndSleet@19$HKWeatherConditionMixedRainAndSnow@18$HKWeatherConditionMixedSnowAndSleet@20$HKWeatherConditionMostlyCloudy@4$HKWeatherConditionNone@0$HKWeatherConditionPartlyCloudy@3$HKWeatherConditionScatteredShowers@22$HKWeatherConditionShowers@23$HKWeatherConditionSleet@14$HKWeatherConditionSmoky@10$HKWeatherConditionSnow@12$HKWeatherConditionThunderstorms@24$HKWeatherConditionTornado@27$HKWeatherConditionTropicalStorm@25$HKWeatherConditionWindy@8$HKWheelchairUseNo@1$HKWheelchairUseNotSet@0$HKWheelchairUseYes@2$HKWorkoutActivityTypeAmericanFootball@1$HKWorkoutActivityTypeArchery@2$HKWorkoutActivityTypeAustralianFootball@3$HKWorkoutActivityTypeBadminton@4$HKWorkoutActivityTypeBarre@58$HKWorkoutActivityTypeBaseball@5$HKWorkoutActivityTypeBasketball@6$HKWorkoutActivityTypeBowling@7$HKWorkoutActivityTypeBoxing@8$HKWorkoutActivityTypeCardioDance@77$HKWorkoutActivityTypeClimbing@9$HKWorkoutActivityTypeCooldown@80$HKWorkoutActivityTypeCoreTraining@59$HKWorkoutActivityTypeCricket@10$HKWorkoutActivityTypeCrossCountrySkiing@60$HKWorkoutActivityTypeCrossTraining@11$HKWorkoutActivityTypeCurling@12$HKWorkoutActivityTypeCycling@13$HKWorkoutActivityTypeDance@14$HKWorkoutActivityTypeDanceInspiredTraining@15$HKWorkoutActivityTypeDiscSports@75$HKWorkoutActivityTypeDownhillSkiing@61$HKWorkoutActivityTypeElliptical@16$HKWorkoutActivityTypeEquestrianSports@17$HKWorkoutActivityTypeFencing@18$HKWorkoutActivityTypeFishing@19$HKWorkoutActivityTypeFitnessGaming@76$HKWorkoutActivityTypeFlexibility@62$HKWorkoutActivityTypeFunctionalStrengthTraining@20$HKWorkoutActivityTypeGolf@21$HKWorkoutActivityTypeGymnastics@22$HKWorkoutActivityTypeHandCycling@74$HKWorkoutActivityTypeHandball@23$HKWorkoutActivityTypeHighIntensityIntervalTraining@63$HKWorkoutActivityTypeHiking@24$HKWorkoutActivityTypeHockey@25$HKWorkoutActivityTypeHunting@26$HKWorkoutActivityTypeJumpRope@64$HKWorkoutActivityTypeKickboxing@65$HKWorkoutActivityTypeLacrosse@27$HKWorkoutActivityTypeMartialArts@28$HKWorkoutActivityTypeMindAndBody@29$HKWorkoutActivityTypeMixedCardio@73$HKWorkoutActivityTypeMixedMetabolicCardioTraining@30$HKWorkoutActivityTypeOther@3000$HKWorkoutActivityTypePaddleSports@31$HKWorkoutActivityTypePickleball@79$HKWorkoutActivityTypePilates@66$HKWorkoutActivityTypePlay@32$HKWorkoutActivityTypePreparationAndRecovery@33$HKWorkoutActivityTypeRacquetball@34$HKWorkoutActivityTypeRowing@35$HKWorkoutActivityTypeRugby@36$HKWorkoutActivityTypeRunning@37$HKWorkoutActivityTypeSailing@38$HKWorkoutActivityTypeSkatingSports@39$HKWorkoutActivityTypeSnowSports@40$HKWorkoutActivityTypeSnowboarding@67$HKWorkoutActivityTypeSoccer@41$HKWorkoutActivityTypeSocialDance@78$HKWorkoutActivityTypeSoftball@42$HKWorkoutActivityTypeSquash@43$HKWorkoutActivityTypeStairClimbing@44$HKWorkoutActivityTypeStairs@68$HKWorkoutActivityTypeStepTraining@69$HKWorkoutActivityTypeSurfingSports@45$HKWorkoutActivityTypeSwimBikeRun@82$HKWorkoutActivityTypeSwimming@46$HKWorkoutActivityTypeTableTennis@47$HKWorkoutActivityTypeTaiChi@72$HKWorkoutActivityTypeTennis@48$HKWorkoutActivityTypeTrackAndField@49$HKWorkoutActivityTypeTraditionalStrengthTraining@50$HKWorkoutActivityTypeTransition@83$HKWorkoutActivityTypeUnderwaterDiving@84$HKWorkoutActivityTypeVolleyball@51$HKWorkoutActivityTypeWalking@52$HKWorkoutActivityTypeWaterFitness@53$HKWorkoutActivityTypeWaterPolo@54$HKWorkoutActivityTypeWaterSports@55$HKWorkoutActivityTypeWheelchairRunPace@71$HKWorkoutActivityTypeWheelchairWalkPace@70$HKWorkoutActivityTypeWrestling@56$HKWorkoutActivityTypeYoga@57$HKWorkoutEventTypeLap@3$HKWorkoutEventTypeMarker@4$HKWorkoutEventTypeMotionPaused@5$HKWorkoutEventTypeMotionResumed@6$HKWorkoutEventTypePause@1$HKWorkoutEventTypePauseOrResumeRequest@8$HKWorkoutEventTypeResume@2$HKWorkoutEventTypeSegment@7$HKWorkoutSessionLocationTypeIndoor@2$HKWorkoutSessionLocationTypeOutdoor@3$HKWorkoutSessionLocationTypeUnknown@1$HKWorkoutSessionStateEnded@3$HKWorkoutSessionStateNotStarted@1$HKWorkoutSessionStatePaused@4$HKWorkoutSessionStatePrepared@5$HKWorkoutSessionStateRunning@2$HKWorkoutSessionStateStopped@6$HKWorkoutSessionTypeMirrored@1$HKWorkoutSessionTypePrimary@0$HKWorkoutSwimmingLocationTypeOpenWater@2$HKWorkoutSwimmingLocationTypePool@1$HKWorkoutSwimmingLocationTypeUnknown@0$"""
|
|
33
|
+
constants = """$HKCategoryTypeIdentifierAbdominalCramps$HKCategoryTypeIdentifierAcne$HKCategoryTypeIdentifierAppetiteChanges$HKCategoryTypeIdentifierAppleStandHour$HKCategoryTypeIdentifierAppleWalkingSteadinessEvent$HKCategoryTypeIdentifierAudioExposureEvent$HKCategoryTypeIdentifierBladderIncontinence$HKCategoryTypeIdentifierBleedingAfterPregnancy$HKCategoryTypeIdentifierBleedingDuringPregnancy$HKCategoryTypeIdentifierBloating$HKCategoryTypeIdentifierBreastPain$HKCategoryTypeIdentifierCervicalMucusQuality$HKCategoryTypeIdentifierChestTightnessOrPain$HKCategoryTypeIdentifierChills$HKCategoryTypeIdentifierConstipation$HKCategoryTypeIdentifierContraceptive$HKCategoryTypeIdentifierCoughing$HKCategoryTypeIdentifierDiarrhea$HKCategoryTypeIdentifierDizziness$HKCategoryTypeIdentifierDrySkin$HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent$HKCategoryTypeIdentifierFainting$HKCategoryTypeIdentifierFatigue$HKCategoryTypeIdentifierFever$HKCategoryTypeIdentifierGeneralizedBodyAche$HKCategoryTypeIdentifierHairLoss$HKCategoryTypeIdentifierHandwashingEvent$HKCategoryTypeIdentifierHeadache$HKCategoryTypeIdentifierHeadphoneAudioExposureEvent$HKCategoryTypeIdentifierHeartburn$HKCategoryTypeIdentifierHighHeartRateEvent$HKCategoryTypeIdentifierHotFlashes$HKCategoryTypeIdentifierInfrequentMenstrualCycles$HKCategoryTypeIdentifierIntermenstrualBleeding$HKCategoryTypeIdentifierIrregularHeartRhythmEvent$HKCategoryTypeIdentifierIrregularMenstrualCycles$HKCategoryTypeIdentifierLactation$HKCategoryTypeIdentifierLossOfSmell$HKCategoryTypeIdentifierLossOfTaste$HKCategoryTypeIdentifierLowCardioFitnessEvent$HKCategoryTypeIdentifierLowHeartRateEvent$HKCategoryTypeIdentifierLowerBackPain$HKCategoryTypeIdentifierMemoryLapse$HKCategoryTypeIdentifierMenstrualFlow$HKCategoryTypeIdentifierMindfulSession$HKCategoryTypeIdentifierMoodChanges$HKCategoryTypeIdentifierNausea$HKCategoryTypeIdentifierNightSweats$HKCategoryTypeIdentifierOvulationTestResult$HKCategoryTypeIdentifierPelvicPain$HKCategoryTypeIdentifierPersistentIntermenstrualBleeding$HKCategoryTypeIdentifierPregnancy$HKCategoryTypeIdentifierPregnancyTestResult$HKCategoryTypeIdentifierProgesteroneTestResult$HKCategoryTypeIdentifierProlongedMenstrualPeriods$HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat$HKCategoryTypeIdentifierRunnyNose$HKCategoryTypeIdentifierSexualActivity$HKCategoryTypeIdentifierShortnessOfBreath$HKCategoryTypeIdentifierSinusCongestion$HKCategoryTypeIdentifierSkippedHeartbeat$HKCategoryTypeIdentifierSleepAnalysis$HKCategoryTypeIdentifierSleepApneaEvent$HKCategoryTypeIdentifierSleepChanges$HKCategoryTypeIdentifierSoreThroat$HKCategoryTypeIdentifierToothbrushingEvent$HKCategoryTypeIdentifierVaginalDryness$HKCategoryTypeIdentifierVomiting$HKCategoryTypeIdentifierWheezing$HKCharacteristicTypeIdentifierActivityMoveMode$HKCharacteristicTypeIdentifierBiologicalSex$HKCharacteristicTypeIdentifierBloodType$HKCharacteristicTypeIdentifierDateOfBirth$HKCharacteristicTypeIdentifierFitzpatrickSkinType$HKCharacteristicTypeIdentifierWheelchairUse$HKClinicalTypeIdentifierAllergyRecord$HKClinicalTypeIdentifierClinicalNoteRecord$HKClinicalTypeIdentifierConditionRecord$HKClinicalTypeIdentifierCoverageRecord$HKClinicalTypeIdentifierImmunizationRecord$HKClinicalTypeIdentifierLabResultRecord$HKClinicalTypeIdentifierMedicationRecord$HKClinicalTypeIdentifierProcedureRecord$HKClinicalTypeIdentifierVitalSignRecord$HKCorrelationTypeIdentifierBloodPressure$HKCorrelationTypeIdentifierFood$HKDataTypeIdentifierHeartbeatSeries$HKDataTypeIdentifierStateOfMind$HKDetailedCDAValidationErrorKey$HKDevicePropertyKeyFirmwareVersion$HKDevicePropertyKeyHardwareVersion$HKDevicePropertyKeyLocalIdentifier$HKDevicePropertyKeyManufacturer$HKDevicePropertyKeyModel$HKDevicePropertyKeyName$HKDevicePropertyKeySoftwareVersion$HKDevicePropertyKeyUDIDeviceIdentifier$HKDocumentTypeIdentifierCDA$HKErrorDomain$HKFHIRReleaseDSTU2$HKFHIRReleaseR4$HKFHIRReleaseUnknown$HKFHIRResourceTypeAllergyIntolerance$HKFHIRResourceTypeCondition$HKFHIRResourceTypeCoverage$HKFHIRResourceTypeDiagnosticReport$HKFHIRResourceTypeDocumentReference$HKFHIRResourceTypeImmunization$HKFHIRResourceTypeMedicationDispense$HKFHIRResourceTypeMedicationOrder$HKFHIRResourceTypeMedicationRequest$HKFHIRResourceTypeMedicationStatement$HKFHIRResourceTypeObservation$HKFHIRResourceTypeProcedure$HKMetadataKeyActivityType$HKMetadataKeyAlgorithmVersion$HKMetadataKeyAlpineSlopeGrade$HKMetadataKeyAppleDeviceCalibrated$HKMetadataKeyAppleECGAlgorithmVersion$HKMetadataKeyAppleFitnessPlusCatalogIdentifier$HKMetadataKeyAppleFitnessPlusSession$HKMetadataKeyAudioExposureDuration$HKMetadataKeyAudioExposureLevel$HKMetadataKeyAverageMETs$HKMetadataKeyAverageSpeed$HKMetadataKeyBarometricPressure$HKMetadataKeyBloodGlucoseMealTime$HKMetadataKeyBodyTemperatureSensorLocation$HKMetadataKeyCoachedWorkout$HKMetadataKeyCrossTrainerDistance$HKMetadataKeyCyclingFunctionalThresholdPowerTestType$HKMetadataKeyDateOfEarliestDataUsedForEstimate$HKMetadataKeyDeviceManufacturerName$HKMetadataKeyDeviceName$HKMetadataKeyDevicePlacementSide$HKMetadataKeyDeviceSerialNumber$HKMetadataKeyDigitalSignature$HKMetadataKeyElevationAscended$HKMetadataKeyElevationDescended$HKMetadataKeyExternalUUID$HKMetadataKeyFitnessMachineDuration$HKMetadataKeyFoodType$HKMetadataKeyGlassesPrescriptionDescription$HKMetadataKeyGroupFitness$HKMetadataKeyHeadphoneGain$HKMetadataKeyHeartRateEventThreshold$HKMetadataKeyHeartRateMotionContext$HKMetadataKeyHeartRateRecoveryActivityDuration$HKMetadataKeyHeartRateRecoveryActivityType$HKMetadataKeyHeartRateRecoveryMaxObservedRecoveryHeartRate$HKMetadataKeyHeartRateRecoveryTestType$HKMetadataKeyHeartRateSensorLocation$HKMetadataKeyIndoorBikeDistance$HKMetadataKeyIndoorWorkout$HKMetadataKeyInsulinDeliveryReason$HKMetadataKeyLapLength$HKMetadataKeyLowCardioFitnessEventThreshold$HKMetadataKeyMaximumLightIntensity$HKMetadataKeyMaximumSpeed$HKMetadataKeyMenstrualCycleStart$HKMetadataKeyPhysicalEffortEstimationType$HKMetadataKeyQuantityClampedToLowerBound$HKMetadataKeyQuantityClampedToUpperBound$HKMetadataKeyReferenceRangeLowerLimit$HKMetadataKeyReferenceRangeUpperLimit$HKMetadataKeySWOLFScore$HKMetadataKeySessionEstimate$HKMetadataKeySexualActivityProtectionUsed$HKMetadataKeySwimmingLocationType$HKMetadataKeySwimmingStrokeStyle$HKMetadataKeySyncIdentifier$HKMetadataKeySyncVersion$HKMetadataKeyTimeZone$HKMetadataKeyUDIDeviceIdentifier$HKMetadataKeyUDIProductionIdentifier$HKMetadataKeyUserMotionContext$HKMetadataKeyVO2MaxTestType$HKMetadataKeyVO2MaxValue$HKMetadataKeyWasTakenInLab$HKMetadataKeyWasUserEntered$HKMetadataKeyWaterSalinity$HKMetadataKeyWeatherCondition$HKMetadataKeyWeatherHumidity$HKMetadataKeyWeatherTemperature$HKMetadataKeyWorkoutBrandName$HKPredicateKeyPathAverage$HKPredicateKeyPathAverageHeartRate$HKPredicateKeyPathCDAAuthorName$HKPredicateKeyPathCDACustodianName$HKPredicateKeyPathCDAPatientName$HKPredicateKeyPathCDATitle$HKPredicateKeyPathCategoryValue$HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier$HKPredicateKeyPathClinicalRecordFHIRResourceType$HKPredicateKeyPathCorrelation$HKPredicateKeyPathCount$HKPredicateKeyPathDateComponents$HKPredicateKeyPathDevice$HKPredicateKeyPathECGClassification$HKPredicateKeyPathECGSymptomsStatus$HKPredicateKeyPathEndDate$HKPredicateKeyPathMax$HKPredicateKeyPathMetadata$HKPredicateKeyPathMin$HKPredicateKeyPathMostRecent$HKPredicateKeyPathMostRecentDuration$HKPredicateKeyPathMostRecentEndDate$HKPredicateKeyPathMostRecentStartDate$HKPredicateKeyPathQuantity$HKPredicateKeyPathSource$HKPredicateKeyPathSourceRevision$HKPredicateKeyPathStartDate$HKPredicateKeyPathSum$HKPredicateKeyPathUUID$HKPredicateKeyPathWorkout$HKPredicateKeyPathWorkoutActivity$HKPredicateKeyPathWorkoutActivityAverageQuantity$HKPredicateKeyPathWorkoutActivityDuration$HKPredicateKeyPathWorkoutActivityEndDate$HKPredicateKeyPathWorkoutActivityMaximumQuantity$HKPredicateKeyPathWorkoutActivityMinimumQuantity$HKPredicateKeyPathWorkoutActivityStartDate$HKPredicateKeyPathWorkoutActivitySumQuantity$HKPredicateKeyPathWorkoutActivityType$HKPredicateKeyPathWorkoutAverageQuantity$HKPredicateKeyPathWorkoutDuration$HKPredicateKeyPathWorkoutEffortRelationship$HKPredicateKeyPathWorkoutMaximumQuantity$HKPredicateKeyPathWorkoutMinimumQuantity$HKPredicateKeyPathWorkoutSumQuantity$HKPredicateKeyPathWorkoutTotalDistance$HKPredicateKeyPathWorkoutTotalEnergyBurned$HKPredicateKeyPathWorkoutTotalFlightsClimbed$HKPredicateKeyPathWorkoutTotalSwimmingStrokeCount$HKPredicateKeyPathWorkoutType$HKQuantityTypeIdentifierActiveEnergyBurned$HKQuantityTypeIdentifierAppleExerciseTime$HKQuantityTypeIdentifierAppleMoveTime$HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances$HKQuantityTypeIdentifierAppleSleepingWristTemperature$HKQuantityTypeIdentifierAppleStandTime$HKQuantityTypeIdentifierAppleWalkingSteadiness$HKQuantityTypeIdentifierAtrialFibrillationBurden$HKQuantityTypeIdentifierBasalBodyTemperature$HKQuantityTypeIdentifierBasalEnergyBurned$HKQuantityTypeIdentifierBloodAlcoholContent$HKQuantityTypeIdentifierBloodGlucose$HKQuantityTypeIdentifierBloodPressureDiastolic$HKQuantityTypeIdentifierBloodPressureSystolic$HKQuantityTypeIdentifierBodyFatPercentage$HKQuantityTypeIdentifierBodyMass$HKQuantityTypeIdentifierBodyMassIndex$HKQuantityTypeIdentifierBodyTemperature$HKQuantityTypeIdentifierCrossCountrySkiingSpeed$HKQuantityTypeIdentifierCyclingCadence$HKQuantityTypeIdentifierCyclingFunctionalThresholdPower$HKQuantityTypeIdentifierCyclingPower$HKQuantityTypeIdentifierCyclingSpeed$HKQuantityTypeIdentifierDietaryBiotin$HKQuantityTypeIdentifierDietaryCaffeine$HKQuantityTypeIdentifierDietaryCalcium$HKQuantityTypeIdentifierDietaryCarbohydrates$HKQuantityTypeIdentifierDietaryChloride$HKQuantityTypeIdentifierDietaryCholesterol$HKQuantityTypeIdentifierDietaryChromium$HKQuantityTypeIdentifierDietaryCopper$HKQuantityTypeIdentifierDietaryEnergyConsumed$HKQuantityTypeIdentifierDietaryFatMonounsaturated$HKQuantityTypeIdentifierDietaryFatPolyunsaturated$HKQuantityTypeIdentifierDietaryFatSaturated$HKQuantityTypeIdentifierDietaryFatTotal$HKQuantityTypeIdentifierDietaryFiber$HKQuantityTypeIdentifierDietaryFolate$HKQuantityTypeIdentifierDietaryIodine$HKQuantityTypeIdentifierDietaryIron$HKQuantityTypeIdentifierDietaryMagnesium$HKQuantityTypeIdentifierDietaryManganese$HKQuantityTypeIdentifierDietaryMolybdenum$HKQuantityTypeIdentifierDietaryNiacin$HKQuantityTypeIdentifierDietaryPantothenicAcid$HKQuantityTypeIdentifierDietaryPhosphorus$HKQuantityTypeIdentifierDietaryPotassium$HKQuantityTypeIdentifierDietaryProtein$HKQuantityTypeIdentifierDietaryRiboflavin$HKQuantityTypeIdentifierDietarySelenium$HKQuantityTypeIdentifierDietarySodium$HKQuantityTypeIdentifierDietarySugar$HKQuantityTypeIdentifierDietaryThiamin$HKQuantityTypeIdentifierDietaryVitaminA$HKQuantityTypeIdentifierDietaryVitaminB12$HKQuantityTypeIdentifierDietaryVitaminB6$HKQuantityTypeIdentifierDietaryVitaminC$HKQuantityTypeIdentifierDietaryVitaminD$HKQuantityTypeIdentifierDietaryVitaminE$HKQuantityTypeIdentifierDietaryVitaminK$HKQuantityTypeIdentifierDietaryWater$HKQuantityTypeIdentifierDietaryZinc$HKQuantityTypeIdentifierDistanceCrossCountrySkiing$HKQuantityTypeIdentifierDistanceCycling$HKQuantityTypeIdentifierDistanceDownhillSnowSports$HKQuantityTypeIdentifierDistancePaddleSports$HKQuantityTypeIdentifierDistanceRowing$HKQuantityTypeIdentifierDistanceSkatingSports$HKQuantityTypeIdentifierDistanceSwimming$HKQuantityTypeIdentifierDistanceWalkingRunning$HKQuantityTypeIdentifierDistanceWheelchair$HKQuantityTypeIdentifierElectrodermalActivity$HKQuantityTypeIdentifierEnvironmentalAudioExposure$HKQuantityTypeIdentifierEnvironmentalSoundReduction$HKQuantityTypeIdentifierEstimatedWorkoutEffortScore$HKQuantityTypeIdentifierFlightsClimbed$HKQuantityTypeIdentifierForcedExpiratoryVolume1$HKQuantityTypeIdentifierForcedVitalCapacity$HKQuantityTypeIdentifierHeadphoneAudioExposure$HKQuantityTypeIdentifierHeartRate$HKQuantityTypeIdentifierHeartRateRecoveryOneMinute$HKQuantityTypeIdentifierHeartRateVariabilitySDNN$HKQuantityTypeIdentifierHeight$HKQuantityTypeIdentifierInhalerUsage$HKQuantityTypeIdentifierInsulinDelivery$HKQuantityTypeIdentifierLeanBodyMass$HKQuantityTypeIdentifierNikeFuel$HKQuantityTypeIdentifierNumberOfAlcoholicBeverages$HKQuantityTypeIdentifierNumberOfTimesFallen$HKQuantityTypeIdentifierOxygenSaturation$HKQuantityTypeIdentifierPaddleSportsSpeed$HKQuantityTypeIdentifierPeakExpiratoryFlowRate$HKQuantityTypeIdentifierPeripheralPerfusionIndex$HKQuantityTypeIdentifierPhysicalEffort$HKQuantityTypeIdentifierPushCount$HKQuantityTypeIdentifierRespiratoryRate$HKQuantityTypeIdentifierRestingHeartRate$HKQuantityTypeIdentifierRowingSpeed$HKQuantityTypeIdentifierRunningGroundContactTime$HKQuantityTypeIdentifierRunningPower$HKQuantityTypeIdentifierRunningSpeed$HKQuantityTypeIdentifierRunningStrideLength$HKQuantityTypeIdentifierRunningVerticalOscillation$HKQuantityTypeIdentifierSixMinuteWalkTestDistance$HKQuantityTypeIdentifierStairAscentSpeed$HKQuantityTypeIdentifierStairDescentSpeed$HKQuantityTypeIdentifierStepCount$HKQuantityTypeIdentifierSwimmingStrokeCount$HKQuantityTypeIdentifierTimeInDaylight$HKQuantityTypeIdentifierUVExposure$HKQuantityTypeIdentifierUnderwaterDepth$HKQuantityTypeIdentifierVO2Max$HKQuantityTypeIdentifierWaistCircumference$HKQuantityTypeIdentifierWalkingAsymmetryPercentage$HKQuantityTypeIdentifierWalkingDoubleSupportPercentage$HKQuantityTypeIdentifierWalkingHeartRateAverage$HKQuantityTypeIdentifierWalkingSpeed$HKQuantityTypeIdentifierWalkingStepLength$HKQuantityTypeIdentifierWaterTemperature$HKQuantityTypeIdentifierWorkoutEffortScore$HKSampleSortIdentifierEndDate$HKSampleSortIdentifierStartDate$HKScoredAssessmentTypeIdentifierGAD7$HKScoredAssessmentTypeIdentifierPHQ9$HKSourceRevisionAnyOperatingSystem@{NSOperatingSystemVersion=qqq}$HKSourceRevisionAnyProductType$HKSourceRevisionAnyVersion$HKUserPreferencesDidChangeNotification$HKVerifiableClinicalRecordCredentialTypeCOVID19$HKVerifiableClinicalRecordCredentialTypeImmunization$HKVerifiableClinicalRecordCredentialTypeLaboratory$HKVerifiableClinicalRecordCredentialTypeRecovery$HKVerifiableClinicalRecordSourceTypeEUDigitalCOVIDCertificate$HKVerifiableClinicalRecordSourceTypeSMARTHealthCard$HKVisionPrescriptionTypeIdentifier$HKWorkoutRouteTypeIdentifier$HKWorkoutSortIdentifierDuration$HKWorkoutSortIdentifierTotalDistance$HKWorkoutSortIdentifierTotalEnergyBurned$HKWorkoutSortIdentifierTotalFlightsClimbed$HKWorkoutSortIdentifierTotalSwimmingStrokeCount$HKWorkoutTypeIdentifier$"""
|
|
34
|
+
enums = """$HKActivityMoveModeActiveEnergy@1$HKActivityMoveModeAppleMoveTime@2$HKAnchoredObjectQueryNoAnchor@0$HKAppleECGAlgorithmVersion1@1$HKAppleECGAlgorithmVersion2@2$HKAppleSleepingBreathingDisturbancesClassificationElevated@1$HKAppleSleepingBreathingDisturbancesClassificationNotElevated@0$HKAppleWalkingSteadinessClassificationLow@2$HKAppleWalkingSteadinessClassificationOK@1$HKAppleWalkingSteadinessClassificationVeryLow@3$HKAudiogramConductionTypeAir@0$HKAudiogramSensitivityTestSideLeft@0$HKAudiogramSensitivityTestSideRight@1$HKAuthorizationRequestStatusShouldRequest@1$HKAuthorizationRequestStatusUnknown@0$HKAuthorizationRequestStatusUnnecessary@2$HKAuthorizationStatusNotDetermined@0$HKAuthorizationStatusSharingAuthorized@2$HKAuthorizationStatusSharingDenied@1$HKBiologicalSexFemale@1$HKBiologicalSexMale@2$HKBiologicalSexNotSet@0$HKBiologicalSexOther@3$HKBloodGlucoseMealTimePostprandial@2$HKBloodGlucoseMealTimePreprandial@1$HKBloodTypeABNegative@6$HKBloodTypeABPositive@5$HKBloodTypeANegative@2$HKBloodTypeAPositive@1$HKBloodTypeBNegative@4$HKBloodTypeBPositive@3$HKBloodTypeNotSet@0$HKBloodTypeONegative@8$HKBloodTypeOPositive@7$HKBodyTemperatureSensorLocationArmpit@1$HKBodyTemperatureSensorLocationBody@2$HKBodyTemperatureSensorLocationEar@3$HKBodyTemperatureSensorLocationEarDrum@9$HKBodyTemperatureSensorLocationFinger@4$HKBodyTemperatureSensorLocationForehead@11$HKBodyTemperatureSensorLocationGastroIntestinal@5$HKBodyTemperatureSensorLocationMouth@6$HKBodyTemperatureSensorLocationOther@0$HKBodyTemperatureSensorLocationRectum@7$HKBodyTemperatureSensorLocationTemporalArtery@10$HKBodyTemperatureSensorLocationToe@8$HKCategoryValueAppetiteChangesDecreased@2$HKCategoryValueAppetiteChangesIncreased@3$HKCategoryValueAppetiteChangesNoChange@1$HKCategoryValueAppetiteChangesUnspecified@0$HKCategoryValueAppleStandHourIdle@1$HKCategoryValueAppleStandHourStood@0$HKCategoryValueAppleWalkingSteadinessEventInitialLow@1$HKCategoryValueAppleWalkingSteadinessEventInitialVeryLow@2$HKCategoryValueAppleWalkingSteadinessEventRepeatLow@3$HKCategoryValueAppleWalkingSteadinessEventRepeatVeryLow@4$HKCategoryValueAudioExposureEventLoudEnvironment@1$HKCategoryValueCervicalMucusQualityCreamy@3$HKCategoryValueCervicalMucusQualityDry@1$HKCategoryValueCervicalMucusQualityEggWhite@5$HKCategoryValueCervicalMucusQualitySticky@2$HKCategoryValueCervicalMucusQualityWatery@4$HKCategoryValueContraceptiveImplant@2$HKCategoryValueContraceptiveInjection@3$HKCategoryValueContraceptiveIntrauterineDevice@4$HKCategoryValueContraceptiveIntravaginalRing@5$HKCategoryValueContraceptiveOral@6$HKCategoryValueContraceptivePatch@7$HKCategoryValueContraceptiveUnspecified@1$HKCategoryValueEnvironmentalAudioExposureEventMomentaryLimit@1$HKCategoryValueHeadphoneAudioExposureEventSevenDayLimit@1$HKCategoryValueLowCardioFitnessEventLowFitness@1$HKCategoryValueMenstrualFlowHeavy@4$HKCategoryValueMenstrualFlowLight@2$HKCategoryValueMenstrualFlowMedium@3$HKCategoryValueMenstrualFlowNone@5$HKCategoryValueMenstrualFlowUnspecified@1$HKCategoryValueNotApplicable@0$HKCategoryValueOvulationTestResultEstrogenSurge@4$HKCategoryValueOvulationTestResultIndeterminate@3$HKCategoryValueOvulationTestResultLuteinizingHormoneSurge@2$HKCategoryValueOvulationTestResultNegative@1$HKCategoryValueOvulationTestResultPositive@2$HKCategoryValuePregnancyTestResultIndeterminate@3$HKCategoryValuePregnancyTestResultNegative@1$HKCategoryValuePregnancyTestResultPositive@2$HKCategoryValuePresenceNotPresent@1$HKCategoryValuePresencePresent@0$HKCategoryValueProgesteroneTestResultIndeterminate@3$HKCategoryValueProgesteroneTestResultNegative@1$HKCategoryValueProgesteroneTestResultPositive@2$HKCategoryValueSeverityMild@2$HKCategoryValueSeverityModerate@3$HKCategoryValueSeverityNotPresent@1$HKCategoryValueSeveritySevere@4$HKCategoryValueSeverityUnspecified@0$HKCategoryValueSleepAnalysisAsleep@1$HKCategoryValueSleepAnalysisAsleepCore@3$HKCategoryValueSleepAnalysisAsleepDeep@4$HKCategoryValueSleepAnalysisAsleepREM@5$HKCategoryValueSleepAnalysisAsleepUnspecified@1$HKCategoryValueSleepAnalysisAwake@2$HKCategoryValueSleepAnalysisInBed@0$HKCategoryValueVaginalBleedingHeavy@4$HKCategoryValueVaginalBleedingLight@2$HKCategoryValueVaginalBleedingMedium@3$HKCategoryValueVaginalBleedingNone@5$HKCategoryValueVaginalBleedingUnspecified@1$HKCyclingFunctionalThresholdPowerTestTypeMaxExercise20Minute@2$HKCyclingFunctionalThresholdPowerTestTypeMaxExercise60Minute@1$HKCyclingFunctionalThresholdPowerTestTypePredictionExercise@4$HKCyclingFunctionalThresholdPowerTestTypeRampTest@3$HKDevicePlacementSideCentral@3$HKDevicePlacementSideLeft@1$HKDevicePlacementSideRight@2$HKDevicePlacementSideUnknown@0$HKElectrocardiogramClassificationAtrialFibrillation@2$HKElectrocardiogramClassificationInconclusiveHighHeartRate@4$HKElectrocardiogramClassificationInconclusiveLowHeartRate@3$HKElectrocardiogramClassificationInconclusiveOther@6$HKElectrocardiogramClassificationInconclusivePoorReading@5$HKElectrocardiogramClassificationNotSet@0$HKElectrocardiogramClassificationSinusRhythm@1$HKElectrocardiogramClassificationUnrecognized@100$HKElectrocardiogramLeadAppleWatchSimilarToLeadI@1$HKElectrocardiogramSymptomsStatusNone@1$HKElectrocardiogramSymptomsStatusNotSet@0$HKElectrocardiogramSymptomsStatusPresent@2$HKErrorAnotherWorkoutSessionStarted@8$HKErrorAuthorizationDenied@4$HKErrorAuthorizationNotDetermined@5$HKErrorBackgroundWorkoutSessionNotAllowed@14$HKErrorDataSizeExceeded@13$HKErrorDatabaseInaccessible@6$HKErrorHealthDataRestricted@2$HKErrorHealthDataUnavailable@1$HKErrorInvalidArgument@3$HKErrorNoData@11$HKErrorNotPermissibleForGuestUserMode@15$HKErrorRequiredAuthorizationDenied@10$HKErrorUserCanceled@7$HKErrorUserExitedWorkoutSession@9$HKErrorWorkoutActivityNotAllowed@12$HKFitzpatrickSkinTypeI@1$HKFitzpatrickSkinTypeII@2$HKFitzpatrickSkinTypeIII@3$HKFitzpatrickSkinTypeIV@4$HKFitzpatrickSkinTypeNotSet@0$HKFitzpatrickSkinTypeV@5$HKFitzpatrickSkinTypeVI@6$HKGAD7AssessmentAnswerMoreThanHalfTheDays@2$HKGAD7AssessmentAnswerNearlyEveryDay@3$HKGAD7AssessmentAnswerNotAtAll@0$HKGAD7AssessmentAnswerSeveralDays@1$HKGAD7AssessmentRiskMild@2$HKGAD7AssessmentRiskModerate@3$HKGAD7AssessmentRiskNoneToMinimal@1$HKGAD7AssessmentRiskSevere@4$HKHeartRateMotionContextActive@2$HKHeartRateMotionContextNotSet@0$HKHeartRateMotionContextSedentary@1$HKHeartRateRecoveryTestTypeMaxExercise@1$HKHeartRateRecoveryTestTypePredictionNonExercise@3$HKHeartRateRecoveryTestTypePredictionSubMaxExercise@2$HKHeartRateSensorLocationChest@1$HKHeartRateSensorLocationEarLobe@5$HKHeartRateSensorLocationFinger@3$HKHeartRateSensorLocationFoot@6$HKHeartRateSensorLocationHand@4$HKHeartRateSensorLocationOther@0$HKHeartRateSensorLocationWrist@2$HKInsulinDeliveryReasonBasal@1$HKInsulinDeliveryReasonBolus@2$HKMetricPrefixCenti@5$HKMetricPrefixDeca@7$HKMetricPrefixDeci@6$HKMetricPrefixFemto@13$HKMetricPrefixGiga@11$HKMetricPrefixHecto@8$HKMetricPrefixKilo@9$HKMetricPrefixMega@10$HKMetricPrefixMicro@3$HKMetricPrefixMilli@4$HKMetricPrefixNano@2$HKMetricPrefixNone@0$HKMetricPrefixPico@1$HKMetricPrefixTera@12$HKNoError@0$HKObjectQueryNoLimit@0$HKPHQ9AssessmentAnswerMoreThanHalfTheDays@2$HKPHQ9AssessmentAnswerNearlyEveryDay@3$HKPHQ9AssessmentAnswerNotAtAll@0$HKPHQ9AssessmentAnswerPreferNotToAnswer@4$HKPHQ9AssessmentAnswerSeveralDays@1$HKPHQ9AssessmentRiskMild@2$HKPHQ9AssessmentRiskModerate@3$HKPHQ9AssessmentRiskModeratelySevere@4$HKPHQ9AssessmentRiskNoneToMinimal@1$HKPHQ9AssessmentRiskSevere@5$HKPhysicalEffortEstimationTypeActivityLookup@1$HKPhysicalEffortEstimationTypeDeviceSensed@2$HKPrismBaseDown@2$HKPrismBaseIn@3$HKPrismBaseNone@0$HKPrismBaseOut@4$HKPrismBaseUp@1$HKQuantityAggregationStyleCumulative@0$HKQuantityAggregationStyleDiscrete@1$HKQuantityAggregationStyleDiscreteArithmetic@1$HKQuantityAggregationStyleDiscreteEquivalentContinuousLevel@3$HKQuantityAggregationStyleDiscreteTemporallyWeighted@2$HKQueryOptionNone@0$HKQueryOptionStrictEndDate@2$HKQueryOptionStrictStartDate@1$HKStateOfMindAssociationCommunity@1$HKStateOfMindAssociationCurrentEvents@2$HKStateOfMindAssociationDating@3$HKStateOfMindAssociationEducation@4$HKStateOfMindAssociationFamily@5$HKStateOfMindAssociationFitness@6$HKStateOfMindAssociationFriends@7$HKStateOfMindAssociationHealth@8$HKStateOfMindAssociationHobbies@9$HKStateOfMindAssociationIdentity@10$HKStateOfMindAssociationMoney@11$HKStateOfMindAssociationPartner@12$HKStateOfMindAssociationSelfCare@13$HKStateOfMindAssociationSpirituality@14$HKStateOfMindAssociationTasks@15$HKStateOfMindAssociationTravel@16$HKStateOfMindAssociationWeather@18$HKStateOfMindAssociationWork@17$HKStateOfMindKindDailyMood@2$HKStateOfMindKindMomentaryEmotion@1$HKStateOfMindLabelAmazed@1$HKStateOfMindLabelAmused@2$HKStateOfMindLabelAngry@3$HKStateOfMindLabelAnnoyed@32$HKStateOfMindLabelAnxious@4$HKStateOfMindLabelAshamed@5$HKStateOfMindLabelBrave@6$HKStateOfMindLabelCalm@7$HKStateOfMindLabelConfident@33$HKStateOfMindLabelContent@8$HKStateOfMindLabelDisappointed@9$HKStateOfMindLabelDiscouraged@10$HKStateOfMindLabelDisgusted@11$HKStateOfMindLabelDrained@34$HKStateOfMindLabelEmbarrassed@12$HKStateOfMindLabelExcited@13$HKStateOfMindLabelFrustrated@14$HKStateOfMindLabelGrateful@15$HKStateOfMindLabelGuilty@16$HKStateOfMindLabelHappy@17$HKStateOfMindLabelHopeful@35$HKStateOfMindLabelHopeless@18$HKStateOfMindLabelIndifferent@36$HKStateOfMindLabelIrritated@19$HKStateOfMindLabelJealous@20$HKStateOfMindLabelJoyful@21$HKStateOfMindLabelLonely@22$HKStateOfMindLabelOverwhelmed@37$HKStateOfMindLabelPassionate@23$HKStateOfMindLabelPeaceful@24$HKStateOfMindLabelProud@25$HKStateOfMindLabelRelieved@26$HKStateOfMindLabelSad@27$HKStateOfMindLabelSatisfied@38$HKStateOfMindLabelScared@28$HKStateOfMindLabelStressed@29$HKStateOfMindLabelSurprised@30$HKStateOfMindLabelWorried@31$HKStateOfMindValenceClassificationNeutral@4$HKStateOfMindValenceClassificationPleasant@6$HKStateOfMindValenceClassificationSlightlyPleasant@5$HKStateOfMindValenceClassificationSlightlyUnpleasant@3$HKStateOfMindValenceClassificationUnpleasant@2$HKStateOfMindValenceClassificationVeryPleasant@7$HKStateOfMindValenceClassificationVeryUnpleasant@1$HKStatisticsOptionCumulativeSum@16$HKStatisticsOptionDiscreteAverage@2$HKStatisticsOptionDiscreteMax@8$HKStatisticsOptionDiscreteMin@4$HKStatisticsOptionDiscreteMostRecent@32$HKStatisticsOptionDuration@64$HKStatisticsOptionMostRecent@32$HKStatisticsOptionNone@0$HKStatisticsOptionSeparateBySource@1$HKSwimmingStrokeStyleBackstroke@3$HKSwimmingStrokeStyleBreaststroke@4$HKSwimmingStrokeStyleButterfly@5$HKSwimmingStrokeStyleFreestyle@2$HKSwimmingStrokeStyleKickboard@6$HKSwimmingStrokeStyleMixed@1$HKSwimmingStrokeStyleUnknown@0$HKUnknownError@0$HKUpdateFrequencyDaily@3$HKUpdateFrequencyHourly@2$HKUpdateFrequencyImmediate@1$HKUpdateFrequencyWeekly@4$HKUserMotionContextActive@2$HKUserMotionContextNotSet@0$HKUserMotionContextStationary@1$HKVO2MaxTestTypeMaxExercise@1$HKVO2MaxTestTypePredictionNonExercise@3$HKVO2MaxTestTypePredictionSubMaxExercise@2$HKVisionEyeLeft@1$HKVisionEyeRight@2$HKVisionPrescriptionTypeContacts@2$HKVisionPrescriptionTypeGlasses@1$HKWaterSalinityFreshWater@1$HKWaterSalinitySaltWater@2$HKWeatherConditionBlustery@9$HKWeatherConditionClear@1$HKWeatherConditionCloudy@5$HKWeatherConditionDrizzle@21$HKWeatherConditionDust@11$HKWeatherConditionFair@2$HKWeatherConditionFoggy@6$HKWeatherConditionFreezingDrizzle@15$HKWeatherConditionFreezingRain@16$HKWeatherConditionHail@13$HKWeatherConditionHaze@7$HKWeatherConditionHurricane@26$HKWeatherConditionMixedRainAndHail@17$HKWeatherConditionMixedRainAndSleet@19$HKWeatherConditionMixedRainAndSnow@18$HKWeatherConditionMixedSnowAndSleet@20$HKWeatherConditionMostlyCloudy@4$HKWeatherConditionNone@0$HKWeatherConditionPartlyCloudy@3$HKWeatherConditionScatteredShowers@22$HKWeatherConditionShowers@23$HKWeatherConditionSleet@14$HKWeatherConditionSmoky@10$HKWeatherConditionSnow@12$HKWeatherConditionThunderstorms@24$HKWeatherConditionTornado@27$HKWeatherConditionTropicalStorm@25$HKWeatherConditionWindy@8$HKWheelchairUseNo@1$HKWheelchairUseNotSet@0$HKWheelchairUseYes@2$HKWorkoutActivityTypeAmericanFootball@1$HKWorkoutActivityTypeArchery@2$HKWorkoutActivityTypeAustralianFootball@3$HKWorkoutActivityTypeBadminton@4$HKWorkoutActivityTypeBarre@58$HKWorkoutActivityTypeBaseball@5$HKWorkoutActivityTypeBasketball@6$HKWorkoutActivityTypeBowling@7$HKWorkoutActivityTypeBoxing@8$HKWorkoutActivityTypeCardioDance@77$HKWorkoutActivityTypeClimbing@9$HKWorkoutActivityTypeCooldown@80$HKWorkoutActivityTypeCoreTraining@59$HKWorkoutActivityTypeCricket@10$HKWorkoutActivityTypeCrossCountrySkiing@60$HKWorkoutActivityTypeCrossTraining@11$HKWorkoutActivityTypeCurling@12$HKWorkoutActivityTypeCycling@13$HKWorkoutActivityTypeDance@14$HKWorkoutActivityTypeDanceInspiredTraining@15$HKWorkoutActivityTypeDiscSports@75$HKWorkoutActivityTypeDownhillSkiing@61$HKWorkoutActivityTypeElliptical@16$HKWorkoutActivityTypeEquestrianSports@17$HKWorkoutActivityTypeFencing@18$HKWorkoutActivityTypeFishing@19$HKWorkoutActivityTypeFitnessGaming@76$HKWorkoutActivityTypeFlexibility@62$HKWorkoutActivityTypeFunctionalStrengthTraining@20$HKWorkoutActivityTypeGolf@21$HKWorkoutActivityTypeGymnastics@22$HKWorkoutActivityTypeHandCycling@74$HKWorkoutActivityTypeHandball@23$HKWorkoutActivityTypeHighIntensityIntervalTraining@63$HKWorkoutActivityTypeHiking@24$HKWorkoutActivityTypeHockey@25$HKWorkoutActivityTypeHunting@26$HKWorkoutActivityTypeJumpRope@64$HKWorkoutActivityTypeKickboxing@65$HKWorkoutActivityTypeLacrosse@27$HKWorkoutActivityTypeMartialArts@28$HKWorkoutActivityTypeMindAndBody@29$HKWorkoutActivityTypeMixedCardio@73$HKWorkoutActivityTypeMixedMetabolicCardioTraining@30$HKWorkoutActivityTypeOther@3000$HKWorkoutActivityTypePaddleSports@31$HKWorkoutActivityTypePickleball@79$HKWorkoutActivityTypePilates@66$HKWorkoutActivityTypePlay@32$HKWorkoutActivityTypePreparationAndRecovery@33$HKWorkoutActivityTypeRacquetball@34$HKWorkoutActivityTypeRowing@35$HKWorkoutActivityTypeRugby@36$HKWorkoutActivityTypeRunning@37$HKWorkoutActivityTypeSailing@38$HKWorkoutActivityTypeSkatingSports@39$HKWorkoutActivityTypeSnowSports@40$HKWorkoutActivityTypeSnowboarding@67$HKWorkoutActivityTypeSoccer@41$HKWorkoutActivityTypeSocialDance@78$HKWorkoutActivityTypeSoftball@42$HKWorkoutActivityTypeSquash@43$HKWorkoutActivityTypeStairClimbing@44$HKWorkoutActivityTypeStairs@68$HKWorkoutActivityTypeStepTraining@69$HKWorkoutActivityTypeSurfingSports@45$HKWorkoutActivityTypeSwimBikeRun@82$HKWorkoutActivityTypeSwimming@46$HKWorkoutActivityTypeTableTennis@47$HKWorkoutActivityTypeTaiChi@72$HKWorkoutActivityTypeTennis@48$HKWorkoutActivityTypeTrackAndField@49$HKWorkoutActivityTypeTraditionalStrengthTraining@50$HKWorkoutActivityTypeTransition@83$HKWorkoutActivityTypeUnderwaterDiving@84$HKWorkoutActivityTypeVolleyball@51$HKWorkoutActivityTypeWalking@52$HKWorkoutActivityTypeWaterFitness@53$HKWorkoutActivityTypeWaterPolo@54$HKWorkoutActivityTypeWaterSports@55$HKWorkoutActivityTypeWheelchairRunPace@71$HKWorkoutActivityTypeWheelchairWalkPace@70$HKWorkoutActivityTypeWrestling@56$HKWorkoutActivityTypeYoga@57$HKWorkoutEffortRelationshipQueryOptionsDefault@0$HKWorkoutEffortRelationshipQueryOptionsMostRelevant@1$HKWorkoutEventTypeLap@3$HKWorkoutEventTypeMarker@4$HKWorkoutEventTypeMotionPaused@5$HKWorkoutEventTypeMotionResumed@6$HKWorkoutEventTypePause@1$HKWorkoutEventTypePauseOrResumeRequest@8$HKWorkoutEventTypeResume@2$HKWorkoutEventTypeSegment@7$HKWorkoutSessionLocationTypeIndoor@2$HKWorkoutSessionLocationTypeOutdoor@3$HKWorkoutSessionLocationTypeUnknown@1$HKWorkoutSessionStateEnded@3$HKWorkoutSessionStateNotStarted@1$HKWorkoutSessionStatePaused@4$HKWorkoutSessionStatePrepared@5$HKWorkoutSessionStateRunning@2$HKWorkoutSessionStateStopped@6$HKWorkoutSessionTypeMirrored@1$HKWorkoutSessionTypePrimary@0$HKWorkoutSwimmingLocationTypeOpenWater@2$HKWorkoutSwimmingLocationTypePool@1$HKWorkoutSwimmingLocationTypeUnknown@0$"""
|
|
35
35
|
misc.update(
|
|
36
36
|
{
|
|
37
37
|
"HKCategoryValuePresence": NewType("HKCategoryValuePresence", int),
|
|
@@ -40,6 +40,9 @@ misc.update(
|
|
|
40
40
|
"HKCategoryValueLowCardioFitnessEvent": NewType(
|
|
41
41
|
"HKCategoryValueLowCardioFitnessEvent", int
|
|
42
42
|
),
|
|
43
|
+
"HKCategoryValueVaginalBleeding": NewType(
|
|
44
|
+
"HKCategoryValueVaginalBleeding", int
|
|
45
|
+
),
|
|
43
46
|
"HKCategoryValueAppleWalkingSteadinessEvent": NewType(
|
|
44
47
|
"HKCategoryValueAppleWalkingSteadinessEvent", int
|
|
45
48
|
),
|
|
@@ -50,14 +53,17 @@ misc.update(
|
|
|
50
53
|
"HKCategoryValueEnvironmentalAudioExposureEvent": NewType(
|
|
51
54
|
"HKCategoryValueEnvironmentalAudioExposureEvent", int
|
|
52
55
|
),
|
|
56
|
+
"HKWorkoutSessionState": NewType("HKWorkoutSessionState", int),
|
|
53
57
|
"HKDevicePlacementSide": NewType("HKDevicePlacementSide", int),
|
|
54
58
|
"HKUpdateFrequency": NewType("HKUpdateFrequency", int),
|
|
55
59
|
"HKCategoryValueSleepAnalysis": NewType("HKCategoryValueSleepAnalysis", int),
|
|
60
|
+
"HKPHQ9AssessmentAnswer": NewType("HKPHQ9AssessmentAnswer", int),
|
|
56
61
|
"HKBodyTemperatureSensorLocation": NewType(
|
|
57
62
|
"HKBodyTemperatureSensorLocation", int
|
|
58
63
|
),
|
|
59
64
|
"HKCategoryValueSeverity": NewType("HKCategoryValueSeverity", int),
|
|
60
65
|
"HKHeartRateRecoveryTestType": NewType("HKHeartRateRecoveryTestType", int),
|
|
66
|
+
"HKStateOfMindAssociation": NewType("HKStateOfMindAssociation", int),
|
|
61
67
|
"HKElectrocardiogramClassification": NewType(
|
|
62
68
|
"HKElectrocardiogramClassification", int
|
|
63
69
|
),
|
|
@@ -72,6 +78,9 @@ misc.update(
|
|
|
72
78
|
),
|
|
73
79
|
"HKWeatherCondition": NewType("HKWeatherCondition", int),
|
|
74
80
|
"HKCategoryValueMenstrualFlow": NewType("HKCategoryValueMenstrualFlow", int),
|
|
81
|
+
"HKAudiogramSensitivityTestSide": NewType(
|
|
82
|
+
"HKAudiogramSensitivityTestSide", int
|
|
83
|
+
),
|
|
75
84
|
"HKPhysicalEffortEstimationType": NewType(
|
|
76
85
|
"HKPhysicalEffortEstimationType", int
|
|
77
86
|
),
|
|
@@ -87,8 +96,8 @@ misc.update(
|
|
|
87
96
|
"HKCategoryValueProgesteroneTestResult": NewType(
|
|
88
97
|
"HKCategoryValueProgesteroneTestResult", int
|
|
89
98
|
),
|
|
90
|
-
"HKWorkoutEventType": NewType("HKWorkoutEventType", int),
|
|
91
99
|
"HKWorkoutActivityType": NewType("HKWorkoutActivityType", int),
|
|
100
|
+
"HKStateOfMindKind": NewType("HKStateOfMindKind", int),
|
|
92
101
|
"HKCategoryValueAudioExposureEvent": NewType(
|
|
93
102
|
"HKCategoryValueAudioExposureEvent", int
|
|
94
103
|
),
|
|
@@ -101,17 +110,28 @@ misc.update(
|
|
|
101
110
|
"HKAppleWalkingSteadinessClassification", int
|
|
102
111
|
),
|
|
103
112
|
"HKHeartRateSensorLocation": NewType("HKHeartRateSensorLocation", int),
|
|
104
|
-
"
|
|
113
|
+
"HKStateOfMindValenceClassification": NewType(
|
|
114
|
+
"HKStateOfMindValenceClassification", int
|
|
115
|
+
),
|
|
116
|
+
"HKWorkoutEffortRelationshipQueryOptions": NewType(
|
|
117
|
+
"HKWorkoutEffortRelationshipQueryOptions", int
|
|
118
|
+
),
|
|
105
119
|
"HKCategoryValue": NewType("HKCategoryValue", int),
|
|
120
|
+
"HKGAD7AssessmentAnswer": NewType("HKGAD7AssessmentAnswer", int),
|
|
106
121
|
"HKPrismBase": NewType("HKPrismBase", int),
|
|
107
122
|
"HKMetricPrefix": NewType("HKMetricPrefix", int),
|
|
108
|
-
"
|
|
123
|
+
"HKPHQ9AssessmentRisk": NewType("HKPHQ9AssessmentRisk", int),
|
|
109
124
|
"HKAuthorizationRequestStatus": NewType("HKAuthorizationRequestStatus", int),
|
|
110
125
|
"HKVisionPrescriptionType": NewType("HKVisionPrescriptionType", int),
|
|
111
126
|
"HKCyclingFunctionalThresholdPowerTestType": NewType(
|
|
112
127
|
"HKCyclingFunctionalThresholdPowerTestType", int
|
|
113
128
|
),
|
|
129
|
+
"HKWorkoutEventType": NewType("HKWorkoutEventType", int),
|
|
114
130
|
"HKErrorCode": NewType("HKErrorCode", int),
|
|
131
|
+
"HKAppleSleepingBreathingDisturbancesClassification": NewType(
|
|
132
|
+
"HKAppleSleepingBreathingDisturbancesClassification", int
|
|
133
|
+
),
|
|
134
|
+
"HKStateOfMindLabel": NewType("HKStateOfMindLabel", int),
|
|
115
135
|
"HKWaterSalinity": NewType("HKWaterSalinity", int),
|
|
116
136
|
"HKCategoryValueContraceptive": NewType("HKCategoryValueContraceptive", int),
|
|
117
137
|
"HKVisionEye": NewType("HKVisionEye", int),
|
|
@@ -121,21 +141,27 @@ misc.update(
|
|
|
121
141
|
"HKCategoryValueCervicalMucusQuality": NewType(
|
|
122
142
|
"HKCategoryValueCervicalMucusQuality", int
|
|
123
143
|
),
|
|
144
|
+
"HKVO2MaxTestType": NewType("HKVO2MaxTestType", int),
|
|
124
145
|
"HKWorkoutSwimmingLocationType": NewType("HKWorkoutSwimmingLocationType", int),
|
|
125
146
|
"HKAuthorizationStatus": NewType("HKAuthorizationStatus", int),
|
|
147
|
+
"HKGAD7AssessmentRisk": NewType("HKGAD7AssessmentRisk", int),
|
|
148
|
+
"HKAudiogramConductionType": NewType("HKAudiogramConductionType", int),
|
|
126
149
|
"HKElectrocardiogramLead": NewType("HKElectrocardiogramLead", int),
|
|
127
150
|
}
|
|
128
151
|
)
|
|
129
152
|
misc.update(
|
|
130
153
|
{
|
|
131
154
|
"HKDocumentTypeIdentifier": NewType("HKDocumentTypeIdentifier", str),
|
|
132
|
-
"
|
|
155
|
+
"HKScoredAssessmentTypeIdentifier": NewType(
|
|
156
|
+
"HKScoredAssessmentTypeIdentifier", str
|
|
157
|
+
),
|
|
133
158
|
"HKCorrelationTypeIdentifier": NewType("HKCorrelationTypeIdentifier", str),
|
|
134
159
|
"HKFHIRResourceType": NewType("HKFHIRResourceType", str),
|
|
135
160
|
"HKVerifiableClinicalRecordSourceType": NewType(
|
|
136
161
|
"HKVerifiableClinicalRecordSourceType", str
|
|
137
162
|
),
|
|
138
163
|
"HKCategoryTypeIdentifier": NewType("HKCategoryTypeIdentifier", str),
|
|
164
|
+
"HKFHIRRelease": NewType("HKFHIRRelease", str),
|
|
139
165
|
"HKCharacteristicTypeIdentifier": NewType(
|
|
140
166
|
"HKCharacteristicTypeIdentifier", str
|
|
141
167
|
),
|
|
@@ -143,19 +169,27 @@ misc.update(
|
|
|
143
169
|
"HKVerifiableClinicalRecordCredentialType", str
|
|
144
170
|
),
|
|
145
171
|
"HKQuantityTypeIdentifier": NewType("HKQuantityTypeIdentifier", str),
|
|
172
|
+
"HKAudiogramConductionType": NewType("HKAudiogramConductionType", int),
|
|
146
173
|
"HKClinicalTypeIdentifier": NewType("HKClinicalTypeIdentifier", str),
|
|
147
174
|
}
|
|
148
175
|
)
|
|
149
176
|
misc.update({"HKUnitMolarMassBloodGlucose": 180.15588000005408})
|
|
150
177
|
functions = {
|
|
178
|
+
"HKAppleWalkingSteadinessMaximumQuantityForClassification": (b"@q",),
|
|
179
|
+
"HKCategoryValueSleepAnalysisAsleepValues": (b"@",),
|
|
180
|
+
"HKMaximumScoreForPHQ9AssessmentRisk": (b"qq",),
|
|
181
|
+
"HKMinimumScoreForPHQ9AssessmentRisk": (b"qq",),
|
|
182
|
+
"HKAppleSleepingBreathingDisturbancesMinimumQuantityForClassification": (b"@q",),
|
|
183
|
+
"HKStateOfMindValenceClassificationForValence": (b"@d",),
|
|
184
|
+
"HKAppleWalkingSteadinessMinimumQuantityForClassification": (b"@q",),
|
|
185
|
+
"HKMaximumScoreForGAD7AssessmentRisk": (b"qq",),
|
|
186
|
+
"HKAppleSleepingBreathingDisturbancesClassificationForQuantity": (b"@@",),
|
|
151
187
|
"HKAppleWalkingSteadinessClassificationForQuantity": (
|
|
152
188
|
b"Z@^q^@",
|
|
153
189
|
"",
|
|
154
190
|
{"arguments": {1: {"type_modifier": "o"}, 2: {"type_modifier": "o"}}},
|
|
155
191
|
),
|
|
156
|
-
"
|
|
157
|
-
"HKAppleWalkingSteadinessMaximumQuantityForClassification": (b"@q",),
|
|
158
|
-
"HKCategoryValueSleepAnalysisAsleepValues": (b"@",),
|
|
192
|
+
"HKMinimumScoreForGAD7AssessmentRisk": (b"qq",),
|
|
159
193
|
}
|
|
160
194
|
aliases = {
|
|
161
195
|
"HKCategoryValueSleepAnalysisAsleep": "HKCategoryValueSleepAnalysisAsleepUnspecified",
|
|
@@ -167,6 +201,8 @@ aliases = {
|
|
|
167
201
|
r = objc.registerMetaDataForSelector
|
|
168
202
|
objc._updatingMetadata(True)
|
|
169
203
|
try:
|
|
204
|
+
r(b"HKActivitySummary", b"isPaused", {"retval": {"type": b"Z"}})
|
|
205
|
+
r(b"HKActivitySummary", b"setPaused:", {"arguments": {2: {"type": b"Z"}}})
|
|
170
206
|
r(
|
|
171
207
|
b"HKActivitySummaryQuery",
|
|
172
208
|
b"initWithPredicate:resultsHandler:",
|
|
@@ -420,6 +456,27 @@ try:
|
|
|
420
456
|
b"sensitivityPointWithFrequency:leftEarSensitivity:rightEarSensitivity:error:",
|
|
421
457
|
{"arguments": {5: {"type_modifier": b"o"}}},
|
|
422
458
|
)
|
|
459
|
+
r(
|
|
460
|
+
b"HKAudiogramSensitivityPoint",
|
|
461
|
+
b"sensitivityPointWithFrequency:tests:error:",
|
|
462
|
+
{"arguments": {4: {"type_modifier": b"o"}}},
|
|
463
|
+
)
|
|
464
|
+
r(
|
|
465
|
+
b"HKAudiogramSensitivityPointClampingRange",
|
|
466
|
+
b"clampingRangeWithLowerBound:upperBound:error:",
|
|
467
|
+
{"arguments": {4: {"type_modifier": b"o"}}},
|
|
468
|
+
)
|
|
469
|
+
r(
|
|
470
|
+
b"HKAudiogramSensitivityPointClampingRange",
|
|
471
|
+
b"sensitivityPointWithFrequency:tests:error:",
|
|
472
|
+
{"arguments": {4: {"type_modifier": b"o"}}},
|
|
473
|
+
)
|
|
474
|
+
r(
|
|
475
|
+
b"HKAudiogramSensitivityTest",
|
|
476
|
+
b"initWithSensitivity:type:masked:side:clampingRange:error:",
|
|
477
|
+
{"arguments": {4: {"type": b"Z"}, 7: {"type_modifier": b"o"}}},
|
|
478
|
+
)
|
|
479
|
+
r(b"HKAudiogramSensitivityTest", b"masked", {"retval": {"type": b"Z"}})
|
|
423
480
|
r(
|
|
424
481
|
b"HKCDADocumentSample",
|
|
425
482
|
b"CDADocumentSampleWithData:startDate:endDate:metadata:validationError:",
|
|
@@ -739,6 +796,24 @@ try:
|
|
|
739
796
|
}
|
|
740
797
|
},
|
|
741
798
|
)
|
|
799
|
+
r(
|
|
800
|
+
b"HKHealthStore",
|
|
801
|
+
b"relateWorkoutEffortSample:withWorkout:activity:completion:",
|
|
802
|
+
{
|
|
803
|
+
"arguments": {
|
|
804
|
+
5: {
|
|
805
|
+
"callable": {
|
|
806
|
+
"retval": {"type": b"v"},
|
|
807
|
+
"arguments": {
|
|
808
|
+
0: {"type": b"^v"},
|
|
809
|
+
1: {"type": b"Z"},
|
|
810
|
+
2: {"type": b"@"},
|
|
811
|
+
},
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
)
|
|
742
817
|
r(
|
|
743
818
|
b"HKHealthStore",
|
|
744
819
|
b"requestAuthorizationToShareTypes:readTypes:completion:",
|
|
@@ -863,6 +938,24 @@ try:
|
|
|
863
938
|
},
|
|
864
939
|
)
|
|
865
940
|
r(b"HKHealthStore", b"supportsHealthRecords", {"retval": {"type": b"Z"}})
|
|
941
|
+
r(
|
|
942
|
+
b"HKHealthStore",
|
|
943
|
+
b"unrelateWorkoutEffortSample:fromWorkout:activity:completion:",
|
|
944
|
+
{
|
|
945
|
+
"arguments": {
|
|
946
|
+
5: {
|
|
947
|
+
"callable": {
|
|
948
|
+
"retval": {"type": b"v"},
|
|
949
|
+
"arguments": {
|
|
950
|
+
0: {"type": b"^v"},
|
|
951
|
+
1: {"type": b"Z"},
|
|
952
|
+
2: {"type": b"@"},
|
|
953
|
+
},
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
)
|
|
866
959
|
r(
|
|
867
960
|
b"HKHealthStore",
|
|
868
961
|
b"wheelchairUseWithError:",
|
|
@@ -1527,6 +1620,26 @@ try:
|
|
|
1527
1620
|
}
|
|
1528
1621
|
},
|
|
1529
1622
|
)
|
|
1623
|
+
r(
|
|
1624
|
+
b"HKWorkoutEffortRelationshipQuery",
|
|
1625
|
+
b"initWithPredicate:anchor:options:resultsHandler:",
|
|
1626
|
+
{
|
|
1627
|
+
"arguments": {
|
|
1628
|
+
5: {
|
|
1629
|
+
"callable": {
|
|
1630
|
+
"retval": {"type": b"v"},
|
|
1631
|
+
"arguments": {
|
|
1632
|
+
0: {"type": b"^v"},
|
|
1633
|
+
1: {"type": b"@"},
|
|
1634
|
+
2: {"type": b"@"},
|
|
1635
|
+
3: {"type": b"@"},
|
|
1636
|
+
4: {"type": b"@"},
|
|
1637
|
+
},
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
},
|
|
1642
|
+
)
|
|
1530
1643
|
r(
|
|
1531
1644
|
b"HKWorkoutRouteBuilder",
|
|
1532
1645
|
b"addMetadata:completion:",
|
|
@@ -1801,6 +1914,10 @@ objc.registerNewKeywordsFromSelector(
|
|
|
1801
1914
|
"HKAnchoredObjectQuery", b"initWithType:predicate:anchor:limit:resultsHandler:"
|
|
1802
1915
|
)
|
|
1803
1916
|
objc.registerNewKeywordsFromSelector("HKAttachmentStore", b"initWithHealthStore:")
|
|
1917
|
+
objc.registerNewKeywordsFromSelector(
|
|
1918
|
+
"HKAudiogramSensitivityTest",
|
|
1919
|
+
b"initWithSensitivity:type:masked:side:clampingRange:error:",
|
|
1920
|
+
)
|
|
1804
1921
|
objc.registerNewKeywordsFromSelector(
|
|
1805
1922
|
"HKContactsLensSpecification",
|
|
1806
1923
|
b"initWithSphere:cylinder:axis:addPower:baseCurve:diameter:",
|
|
@@ -1897,6 +2014,10 @@ objc.registerNewKeywordsFromSelector(
|
|
|
1897
2014
|
objc.registerNewKeywordsFromSelector(
|
|
1898
2015
|
"HKWorkoutBuilder", b"initWithHealthStore:configuration:device:"
|
|
1899
2016
|
)
|
|
2017
|
+
objc.registerNewKeywordsFromSelector(
|
|
2018
|
+
"HKWorkoutEffortRelationshipQuery",
|
|
2019
|
+
b"initWithPredicate:anchor:options:resultsHandler:",
|
|
2020
|
+
)
|
|
1900
2021
|
objc.registerNewKeywordsFromSelector(
|
|
1901
2022
|
"HKWorkoutRouteBuilder", b"initWithHealthStore:device:"
|
|
1902
2023
|
)
|
|
@@ -1,37 +1,48 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-HealthKit
|
|
3
|
-
Version:
|
|
3
|
+
Version: 11.1
|
|
4
4
|
Summary: Wrappers for the framework HealthKit on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
7
7
|
Author-email: pyobjc-dev@lists.sourceforge.net
|
|
8
|
-
License: MIT
|
|
8
|
+
License: MIT
|
|
9
9
|
Keywords: PyObjC,HealthKit
|
|
10
10
|
Platform: MacOS X (>=13.0)
|
|
11
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
12
|
Classifier: Environment :: Console
|
|
13
13
|
Classifier: Environment :: MacOS X :: Cocoa
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
16
15
|
Classifier: Natural Language :: English
|
|
17
16
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
18
17
|
Classifier: Programming Language :: Python
|
|
19
18
|
Classifier: Programming Language :: Python :: 3
|
|
20
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
22
20
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
21
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
22
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
27
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
27
|
Classifier: Programming Language :: Objective C
|
|
29
28
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
29
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
|
-
Requires-Python: >=3.
|
|
30
|
+
Requires-Python: >=3.9
|
|
32
31
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
32
|
+
Requires-Dist: pyobjc-core>=11.1
|
|
33
|
+
Requires-Dist: pyobjc-framework-Cocoa>=11.1
|
|
34
|
+
Dynamic: author
|
|
35
|
+
Dynamic: author-email
|
|
36
|
+
Dynamic: classifier
|
|
37
|
+
Dynamic: description
|
|
38
|
+
Dynamic: description-content-type
|
|
39
|
+
Dynamic: home-page
|
|
40
|
+
Dynamic: keywords
|
|
41
|
+
Dynamic: license
|
|
42
|
+
Dynamic: platform
|
|
43
|
+
Dynamic: requires-dist
|
|
44
|
+
Dynamic: requires-python
|
|
45
|
+
Dynamic: summary
|
|
35
46
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
36
47
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
37
48
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
@@ -9,6 +9,7 @@ Lib/pyobjc_framework_HealthKit.egg-info/PKG-INFO
|
|
|
9
9
|
Lib/pyobjc_framework_HealthKit.egg-info/SOURCES.txt
|
|
10
10
|
Lib/pyobjc_framework_HealthKit.egg-info/dependency_links.txt
|
|
11
11
|
Lib/pyobjc_framework_HealthKit.egg-info/not-zip-safe
|
|
12
|
+
Lib/pyobjc_framework_HealthKit.egg-info/pyobjc-build-info.txt
|
|
12
13
|
Lib/pyobjc_framework_HealthKit.egg-info/requires.txt
|
|
13
14
|
Lib/pyobjc_framework_HealthKit.egg-info/top_level.txt
|
|
14
15
|
Modules/_HealthKit.m
|
|
@@ -21,9 +22,13 @@ PyObjCTest/test_hkHeartbeatseriesbuilder.py
|
|
|
21
22
|
PyObjCTest/test_hkactivitysummary.py
|
|
22
23
|
PyObjCTest/test_hkactivitysummaryquery.py
|
|
23
24
|
PyObjCTest/test_hkanchoredobjectquery.py
|
|
25
|
+
PyObjCTest/test_hkapplesleepingbreathingdisturbancesclassification.py
|
|
24
26
|
PyObjCTest/test_hkapplewalkingsteadinessclassification.py
|
|
25
27
|
PyObjCTest/test_hkattachmentstore.py
|
|
26
28
|
PyObjCTest/test_hkaudiogramsample.py
|
|
29
|
+
PyObjCTest/test_hkaudiogramsensitivitypoint.py
|
|
30
|
+
PyObjCTest/test_hkaudiogramsensitivitypointclampingrange.py
|
|
31
|
+
PyObjCTest/test_hkaudiogramsensitivitytest.py
|
|
27
32
|
PyObjCTest/test_hkcategorysample.py
|
|
28
33
|
PyObjCTest/test_hkcategoryvalues.py
|
|
29
34
|
PyObjCTest/test_hkcdadocumentsample.py
|
|
@@ -43,6 +48,7 @@ PyObjCTest/test_hkfhirRelease.py
|
|
|
43
48
|
PyObjCTest/test_hkfhirrelease.py
|
|
44
49
|
PyObjCTest/test_hkfhirresource.py
|
|
45
50
|
PyObjCTest/test_hkfhirversion.py
|
|
51
|
+
PyObjCTest/test_hkgad7assessment.py
|
|
46
52
|
PyObjCTest/test_hkhealthstore.py
|
|
47
53
|
PyObjCTest/test_hkheartbeatseriesbuilder.py
|
|
48
54
|
PyObjCTest/test_hkheartbeatseriesquery.py
|
|
@@ -52,6 +58,7 @@ PyObjCTest/test_hkoBject.py
|
|
|
52
58
|
PyObjCTest/test_hkobject.py
|
|
53
59
|
PyObjCTest/test_hkobjecttype.py
|
|
54
60
|
PyObjCTest/test_hkobserverquery.py
|
|
61
|
+
PyObjCTest/test_hkphq9assessment.py
|
|
55
62
|
PyObjCTest/test_hkquantity.py
|
|
56
63
|
PyObjCTest/test_hkquantityaggregationstyle.py
|
|
57
64
|
PyObjCTest/test_hkquantitysample.py
|
|
@@ -62,6 +69,7 @@ PyObjCTest/test_hksample.py
|
|
|
62
69
|
PyObjCTest/test_hksamplequery.py
|
|
63
70
|
PyObjCTest/test_hksourcequery.py
|
|
64
71
|
PyObjCTest/test_hksourcerevision.py
|
|
72
|
+
PyObjCTest/test_hkstateofmind.py
|
|
65
73
|
PyObjCTest/test_hkstatistics.py
|
|
66
74
|
PyObjCTest/test_hkstatisticscollectionquery.py
|
|
67
75
|
PyObjCTest/test_hkstatisticsquery.py
|
|
@@ -75,6 +83,7 @@ PyObjCTest/test_hkworkout.py
|
|
|
75
83
|
PyObjCTest/test_hkworkoutactivity.py
|
|
76
84
|
PyObjCTest/test_hkworkoutbuilder.py
|
|
77
85
|
PyObjCTest/test_hkworkoutconfiguration.py
|
|
86
|
+
PyObjCTest/test_hkworkouteffortrelationshipquery.py
|
|
78
87
|
PyObjCTest/test_hkworkoutroutebuilder.py
|
|
79
88
|
PyObjCTest/test_hkworkoutroutequery.py
|
|
80
89
|
PyObjCTest/test_hkworkoutsession.py
|
|
@@ -82,5 +91,9 @@ metadata/HealthKit.fwinfo
|
|
|
82
91
|
metadata/metadata.ini
|
|
83
92
|
metadata/raw/arm64-13.3.fwinfo
|
|
84
93
|
metadata/raw/arm64-14.5.fwinfo
|
|
94
|
+
metadata/raw/arm64-15.0.fwinfo
|
|
95
|
+
metadata/raw/arm64-15.2.fwinfo
|
|
85
96
|
metadata/raw/x86_64-13.3.fwinfo
|
|
86
|
-
metadata/raw/x86_64-14.5.fwinfo
|
|
97
|
+
metadata/raw/x86_64-14.5.fwinfo
|
|
98
|
+
metadata/raw/x86_64-15.0.fwinfo
|
|
99
|
+
metadata/raw/x86_64-15.2.fwinfo
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(This is the MIT license, note that libffi-src is a separate product with its own license)
|
|
2
2
|
|
|
3
3
|
Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
|
|
4
|
-
Copyright 2003-
|
|
4
|
+
Copyright 2003-2025 - Ronald Oussoren
|
|
5
5
|
|
|
6
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
7
|
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
#define PY_SSIZE_T_CLEAN
|
|
2
|
+
#include "Python.h"
|
|
3
|
+
#include "pyobjc-api.h"
|
|
4
|
+
|
|
5
|
+
#import <Foundation/Foundation.h>
|
|
6
|
+
#import <HealthKit/HealthKit.h>
|
|
7
|
+
|
|
8
|
+
/* We include the source code here instead of
|
|
9
|
+
* using the linker due to limitations in pyobjc-api.h
|
|
10
|
+
*/
|
|
11
|
+
#include "_HealthKit_protocols.m"
|
|
12
|
+
|
|
13
|
+
static PyMethodDef mod_methods[] = {
|
|
14
|
+
{0, 0, 0, 0} /* sentinel */
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
static int mod_exec_module(PyObject* m)
|
|
18
|
+
{
|
|
19
|
+
return 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static struct PyModuleDef_Slot mod_slots[] = {
|
|
23
|
+
{
|
|
24
|
+
.slot = Py_mod_exec,
|
|
25
|
+
.value = (void*)mod_exec_module
|
|
26
|
+
},
|
|
27
|
+
#if PY_VERSION_HEX >= 0x030c0000
|
|
28
|
+
{
|
|
29
|
+
/* This extension does not use the CPython API other than initializing
|
|
30
|
+
* the module, hence is safe with subinterpreters and per-interpreter
|
|
31
|
+
* GILs
|
|
32
|
+
*/
|
|
33
|
+
.slot = Py_mod_multiple_interpreters,
|
|
34
|
+
.value = Py_MOD_PER_INTERPRETER_GIL_SUPPORTED,
|
|
35
|
+
},
|
|
36
|
+
#endif
|
|
37
|
+
#if PY_VERSION_HEX >= 0x030d0000
|
|
38
|
+
{
|
|
39
|
+
/* The code in this extension should be safe to use without the GIL */
|
|
40
|
+
.slot = Py_mod_gil,
|
|
41
|
+
.value = Py_MOD_GIL_NOT_USED,
|
|
42
|
+
},
|
|
43
|
+
#endif
|
|
44
|
+
{ /* Sentinel */
|
|
45
|
+
.slot = 0,
|
|
46
|
+
.value = 0
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
static struct PyModuleDef mod_module = {
|
|
51
|
+
.m_base = PyModuleDef_HEAD_INIT,
|
|
52
|
+
.m_name = "_HealthKit",
|
|
53
|
+
.m_doc = NULL,
|
|
54
|
+
.m_size = 0,
|
|
55
|
+
.m_methods = mod_methods,
|
|
56
|
+
.m_slots = mod_slots,
|
|
57
|
+
.m_traverse = NULL,
|
|
58
|
+
.m_clear = NULL,
|
|
59
|
+
.m_free = NULL,
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
PyObject* PyInit__HealthKit(void);
|
|
63
|
+
|
|
64
|
+
PyObject* __attribute__((__visibility__("default"))) PyInit__HealthKit(void)
|
|
65
|
+
{
|
|
66
|
+
return PyModuleDef_Init(&mod_module);
|
|
67
|
+
}
|
|
@@ -83,7 +83,7 @@ struct pyobjc_api {
|
|
|
83
83
|
PyObject* _Nullable (*_Nonnull unsupported_method_caller)(
|
|
84
84
|
PyObject* _Nonnull, PyObject* _Nonnull, PyObject* _Nonnull const* _Nonnull,
|
|
85
85
|
size_t);
|
|
86
|
-
void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state);
|
|
86
|
+
void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state) __attribute__((__noreturn__));
|
|
87
87
|
int (*_Nonnull simplify_sig)(const char* signature, char* buf, size_t buflen);
|
|
88
88
|
void (*_Nonnull free_c_array)(int, Py_buffer*);
|
|
89
89
|
int (*_Nonnull py_to_c_array)(BOOL, BOOL, const char* _Nonnull, PyObject* _Nonnull,
|