@kingstinct/react-native-healthkit 13.4.0 → 14.0.0
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.
- package/ReactNativeHealthkit.podspec +1 -0
- package/app.plugin.ts +40 -2
- package/ios/BackgroundDeliveryManager.swift +196 -0
- package/ios/CategoryTypeModule.swift +1 -1
- package/ios/CoreModule.swift +24 -0
- package/ios/CorrelationTypeModule.swift +2 -35
- package/ios/ElectrocardiogramModule.swift +2 -34
- package/ios/HeartbeatSeriesModule.swift +2 -34
- package/ios/MedicationModule.swift +3 -35
- package/ios/PredicateHelpers.swift +2 -2
- package/ios/QuantityTypeModule.swift +11 -11
- package/ios/Serializers.swift +58 -90
- package/ios/StateOfMindModule.swift +2 -34
- package/ios/WorkoutProxy.swift +3 -149
- package/ios/generated/HealthkitGenerated.swift +52 -0
- package/lib/commonjs/generated/healthkit.generated.js +745 -0
- package/lib/commonjs/healthkit.ios.js +51 -17
- package/lib/commonjs/healthkit.js +120 -34
- package/lib/commonjs/specs/QuantityTypeModule.nitro.js +1 -0
- package/lib/commonjs/type-tests/generated-typing.js +2 -0
- package/lib/commonjs/types/CategoryType.js +19 -99
- package/lib/commonjs/types/Medication.js +2 -0
- package/lib/commonjs/types/MetadataEnums.js +17 -0
- package/lib/commonjs/types/QuantityType.js +4 -15
- package/lib/commonjs/types/WeatherCondition.js +2 -32
- package/lib/commonjs/types/Workouts.js +3 -98
- package/lib/commonjs/types/index.js +2 -0
- package/lib/module/generated/healthkit.generated.js +742 -0
- package/lib/module/healthkit.ios.js +49 -15
- package/lib/module/healthkit.js +94 -20
- package/lib/module/specs/QuantityTypeModule.nitro.js +1 -0
- package/lib/module/type-tests/generated-typing.js +1 -0
- package/lib/module/types/CategoryType.js +2 -98
- package/lib/module/types/Medication.js +1 -0
- package/lib/module/types/MetadataEnums.js +1 -0
- package/lib/module/types/QuantityType.js +2 -14
- package/lib/module/types/WeatherCondition.js +1 -32
- package/lib/module/types/Workouts.js +2 -98
- package/lib/module/types/index.js +2 -0
- package/lib/typescript/generated/healthkit.generated.d.ts +1006 -0
- package/lib/typescript/healthkit.d.ts +39 -36
- package/lib/typescript/healthkit.ios.d.ts +64 -53
- package/lib/typescript/hooks/useMostRecentQuantitySample.d.ts +3 -2
- package/lib/typescript/hooks/useMostRecentWorkout.d.ts +2 -2
- package/lib/typescript/hooks/useQuantitySampleById.d.ts +5 -4
- package/lib/typescript/hooks/useStatisticsForQuantity.d.ts +2 -2
- package/lib/typescript/hooks/useSubscribeToQuantitySamples.d.ts +1 -1
- package/lib/typescript/modules.d.ts +2 -2
- package/lib/typescript/specs/CategoryTypeModule.nitro.d.ts +3 -3
- package/lib/typescript/specs/CoreModule.nitro.d.ts +15 -0
- package/lib/typescript/specs/QuantityTypeModule.nitro.d.ts +20 -9
- package/lib/typescript/type-tests/generated-typing.d.ts +1 -0
- package/lib/typescript/types/CategoryType.d.ts +10 -104
- package/lib/typescript/types/CategoryTypeIdentifier.d.ts +1 -61
- package/lib/typescript/types/CorrelationType.d.ts +8 -2
- package/lib/typescript/types/ElectrocardiogramSample.d.ts +8 -1
- package/lib/typescript/types/HeartbeatSeries.d.ts +8 -1
- package/lib/typescript/types/InterfaceVerification.d.ts +14 -1
- package/lib/typescript/types/Medication.d.ts +10 -0
- package/lib/typescript/types/MetadataEnums.d.ts +1 -0
- package/lib/typescript/types/QuantitySample.d.ts +9 -1
- package/lib/typescript/types/QuantityType.d.ts +14 -18
- package/lib/typescript/types/QuantityTypeIdentifier.d.ts +1 -671
- package/lib/typescript/types/QueryOptions.d.ts +8 -4
- package/lib/typescript/types/Shared.d.ts +12 -41
- package/lib/typescript/types/StateOfMind.d.ts +8 -1
- package/lib/typescript/types/Subscriptions.d.ts +11 -11
- package/lib/typescript/types/WeatherCondition.d.ts +1 -30
- package/lib/typescript/types/Workouts.d.ts +18 -104
- package/lib/typescript/types/index.d.ts +2 -0
- package/lib/typescript/utils/getMostRecentQuantitySample.d.ts +2 -1
- package/lib/typescript/utils/getMostRecentWorkout.d.ts +2 -1
- package/lib/typescript/utils/getPreferredUnit.d.ts +2 -1
- package/lib/typescript/utils/getQuantitySampleById.d.ts +2 -1
- package/lib/typescript/utils/subscribeToQuantitySamples.d.ts +1 -1
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.hpp +55 -109
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Umbrella.hpp +12 -18
- package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.hpp +5 -14
- package/nitrogen/generated/ios/c++/HybridCoreModuleSpecSwift.hpp +18 -2
- package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.hpp +1 -13
- package/nitrogen/generated/ios/c++/HybridElectrocardiogramModuleSpecSwift.hpp +1 -13
- package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.hpp +2 -14
- package/nitrogen/generated/ios/c++/HybridMedicationModuleSpecSwift.hpp +1 -13
- package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.hpp +19 -28
- package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.hpp +2 -14
- package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.hpp +2 -115
- package/nitrogen/generated/ios/swift/CategorySample.swift +4 -329
- package/nitrogen/generated/ios/swift/CategoryTypeIdentifier.swift +112 -108
- package/nitrogen/generated/ios/swift/CategoryTypeIdentifierWriteable.swift +292 -0
- package/nitrogen/generated/ios/swift/CorrelationSample.swift +4 -347
- package/nitrogen/generated/ios/swift/ElectrocardiogramSample.swift +4 -329
- package/nitrogen/generated/ios/swift/FilterForWorkouts.swift +30 -30
- package/nitrogen/generated/ios/swift/FilterForWorkoutsBase.swift +30 -30
- package/nitrogen/generated/ios/swift/GeneralForm.swift +4 -4
- package/nitrogen/generated/ios/swift/HeartbeatSeriesSample.swift +4 -329
- package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec.swift +1 -1
- package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec_cxx.swift +1 -1
- package/nitrogen/generated/ios/swift/HybridCoreModuleSpec.swift +2 -0
- package/nitrogen/generated/ios/swift/HybridCoreModuleSpec_cxx.swift +38 -0
- package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec.swift +6 -6
- package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec_cxx.swift +6 -6
- package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec.swift +1 -27
- package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec_cxx.swift +2 -340
- package/nitrogen/generated/ios/swift/MedicationDoseEvent.swift +4 -329
- package/nitrogen/generated/ios/swift/ObjectTypeIdentifier.swift +492 -492
- package/nitrogen/generated/ios/swift/QuantitySample.swift +4 -329
- package/nitrogen/generated/ios/swift/QuantityTypeIdentifier.swift +380 -384
- package/nitrogen/generated/ios/swift/QuantityTypeIdentifierWriteable.swift +372 -376
- package/nitrogen/generated/ios/swift/{QueryOptionsWithAnchorAndUnit.swift → QueryOptionsWithAnchorAndStringUnit.swift} +5 -5
- package/nitrogen/generated/ios/swift/{QueryOptionsWithSortOrderAndUnit.swift → QueryOptionsWithSortOrderAndStringUnit.swift} +5 -5
- package/nitrogen/generated/ios/swift/QueryStatisticsResponseFromSingleSource.swift +37 -37
- package/nitrogen/generated/ios/swift/SampleTypeIdentifier.swift +492 -492
- package/nitrogen/generated/ios/swift/SampleTypeIdentifierWriteable.swift +482 -486
- package/nitrogen/generated/ios/swift/StateOfMindSample.swift +4 -329
- package/nitrogen/generated/ios/swift/{StatisticsQueryOptions.swift → StatisticsQueryOptionsWithStringUnit.swift} +5 -5
- package/nitrogen/generated/ios/swift/WorkoutSample.swift +4 -402
- package/nitrogen/generated/shared/c++/CategorySample.hpp +8 -100
- package/nitrogen/generated/shared/c++/CategoryTypeIdentifier.hpp +153 -149
- package/nitrogen/generated/shared/c++/CategoryTypeIdentifierWriteable.hpp +328 -0
- package/nitrogen/generated/shared/c++/CorrelationSample.hpp +9 -105
- package/nitrogen/generated/shared/c++/ElectrocardiogramSample.hpp +7 -99
- package/nitrogen/generated/shared/c++/FilterForWorkouts.hpp +13 -13
- package/nitrogen/generated/shared/c++/FilterForWorkoutsBase.hpp +13 -13
- package/nitrogen/generated/shared/c++/GeneralForm.hpp +7 -7
- package/nitrogen/generated/shared/c++/HeartbeatSeriesSample.hpp +8 -100
- package/nitrogen/generated/shared/c++/HybridCategoryTypeModuleSpec.hpp +5 -2
- package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.cpp +2 -0
- package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.hpp +4 -2
- package/nitrogen/generated/shared/c++/HybridQuantityTypeModuleSpec.hpp +15 -15
- package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.cpp +1 -27
- package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.hpp +2 -37
- package/nitrogen/generated/shared/c++/MedicationDoseEvent.hpp +7 -99
- package/nitrogen/generated/shared/c++/ObjectTypeIdentifier.hpp +565 -565
- package/nitrogen/generated/shared/c++/QuantitySample.hpp +8 -100
- package/nitrogen/generated/shared/c++/QuantityTypeIdentifier.hpp +407 -411
- package/nitrogen/generated/shared/c++/QuantityTypeIdentifierWriteable.hpp +398 -402
- package/nitrogen/generated/shared/c++/{QueryOptionsWithAnchorAndUnit.hpp → QueryOptionsWithAnchorAndStringUnit.hpp} +11 -11
- package/nitrogen/generated/shared/c++/{QueryOptionsWithSortOrderAndUnit.hpp → QueryOptionsWithSortOrderAndStringUnit.hpp} +11 -11
- package/nitrogen/generated/shared/c++/QueryStatisticsResponseFromSingleSource.hpp +12 -12
- package/nitrogen/generated/shared/c++/SampleTypeIdentifier.hpp +559 -559
- package/nitrogen/generated/shared/c++/SampleTypeIdentifierWriteable.hpp +541 -545
- package/nitrogen/generated/shared/c++/StateOfMindSample.hpp +8 -100
- package/nitrogen/generated/shared/c++/{StatisticsQueryOptions.hpp → StatisticsQueryOptionsWithStringUnit.hpp} +11 -11
- package/nitrogen/generated/shared/c++/WorkoutSample.hpp +7 -120
- package/package.json +5 -2
- package/src/generated/healthkit-schema.json +3680 -0
- package/src/generated/healthkit.generated.ts +1307 -0
- package/src/healthkit.ios.ts +225 -19
- package/src/healthkit.ts +181 -55
- package/src/hooks/useMostRecentQuantitySample.ts +6 -5
- package/src/hooks/useMostRecentWorkout.ts +2 -2
- package/src/hooks/useQuantitySampleById.ts +6 -5
- package/src/hooks/useStatisticsForQuantity.ts +2 -1
- package/src/hooks/useSubscribeToQuantitySamples.ts +1 -1
- package/src/modules.ts +7 -2
- package/src/specs/CategoryTypeModule.nitro.ts +8 -5
- package/src/specs/CoreModule.nitro.ts +20 -0
- package/src/specs/QuantityTypeModule.nitro.ts +81 -7
- package/src/test-setup.ts +2 -0
- package/src/type-tests/generated-typing.ts +133 -0
- package/src/types/CategoryType.ts +52 -148
- package/src/types/CategoryTypeIdentifier.ts +5 -134
- package/src/types/CorrelationType.ts +13 -3
- package/src/types/ElectrocardiogramSample.ts +13 -1
- package/src/types/HeartbeatSeries.ts +13 -1
- package/src/types/InterfaceVerification.ts +38 -1
- package/src/types/Medication.ts +19 -0
- package/src/types/MetadataEnums.ts +15 -0
- package/src/types/QuantitySample.ts +14 -2
- package/src/types/QuantityType.ts +22 -122
- package/src/types/QuantityTypeIdentifier.ts +5 -772
- package/src/types/QueryOptions.ts +11 -4
- package/src/types/Shared.ts +22 -49
- package/src/types/StateOfMind.ts +13 -1
- package/src/types/Subscriptions.ts +19 -13
- package/src/types/WeatherCondition.ts +1 -31
- package/src/types/Workouts.ts +44 -108
- package/src/types/index.ts +2 -0
- package/src/utils/getMostRecentQuantitySample.ts +4 -3
- package/src/utils/getMostRecentWorkout.ts +5 -2
- package/src/utils/getPreferredUnit.ts +5 -4
- package/src/utils/getQuantitySampleById.ts +4 -3
- package/src/utils/subscribeToQuantitySamples.ts +5 -3
- package/nitrogen/generated/ios/swift/HeartRateMotionContext.swift +0 -44
- package/nitrogen/generated/ios/swift/InsulinDeliveryReason.swift +0 -40
- package/nitrogen/generated/ios/swift/WeatherCondition.swift +0 -144
- package/nitrogen/generated/shared/c++/HeartRateMotionContext.hpp +0 -67
- package/nitrogen/generated/shared/c++/InsulinDeliveryReason.hpp +0 -62
- package/nitrogen/generated/shared/c++/WeatherCondition.hpp +0 -88
|
@@ -17,126 +17,120 @@ public extension QuantityTypeIdentifier {
|
|
|
17
17
|
*/
|
|
18
18
|
init?(fromString string: String) {
|
|
19
19
|
switch string {
|
|
20
|
-
case "HKQuantityTypeIdentifierWalkingHeartRateAverage":
|
|
21
|
-
self = .hkquantitytypeidentifierwalkingheartrateaverage
|
|
22
|
-
case "HKQuantityTypeIdentifierAtrialFibrillationBurden":
|
|
23
|
-
self = .hkquantitytypeidentifieratrialfibrillationburden
|
|
24
20
|
case "HKQuantityTypeIdentifierAppleExerciseTime":
|
|
25
21
|
self = .hkquantitytypeidentifierappleexercisetime
|
|
26
22
|
case "HKQuantityTypeIdentifierAppleStandTime":
|
|
27
23
|
self = .hkquantitytypeidentifierapplestandtime
|
|
28
24
|
case "HKQuantityTypeIdentifierAppleWalkingSteadiness":
|
|
29
25
|
self = .hkquantitytypeidentifierapplewalkingsteadiness
|
|
30
|
-
case "
|
|
31
|
-
self = .
|
|
32
|
-
case "
|
|
33
|
-
self = .
|
|
34
|
-
case "HKQuantityTypeIdentifierHeight":
|
|
35
|
-
self = .hkquantitytypeidentifierheight
|
|
36
|
-
case "HKQuantityTypeIdentifierBodyMass":
|
|
37
|
-
self = .hkquantitytypeidentifierbodymass
|
|
38
|
-
case "HKQuantityTypeIdentifierLeanBodyMass":
|
|
39
|
-
self = .hkquantitytypeidentifierleanbodymass
|
|
40
|
-
case "HKQuantityTypeIdentifierWaistCircumference":
|
|
41
|
-
self = .hkquantitytypeidentifierwaistcircumference
|
|
42
|
-
case "HKQuantityTypeIdentifierStepCount":
|
|
43
|
-
self = .hkquantitytypeidentifierstepcount
|
|
44
|
-
case "HKQuantityTypeIdentifierDistanceWalkingRunning":
|
|
45
|
-
self = .hkquantitytypeidentifierdistancewalkingrunning
|
|
46
|
-
case "HKQuantityTypeIdentifierDistanceCycling":
|
|
47
|
-
self = .hkquantitytypeidentifierdistancecycling
|
|
48
|
-
case "HKQuantityTypeIdentifierDistanceWheelchair":
|
|
49
|
-
self = .hkquantitytypeidentifierdistancewheelchair
|
|
50
|
-
case "HKQuantityTypeIdentifierBasalEnergyBurned":
|
|
51
|
-
self = .hkquantitytypeidentifierbasalenergyburned
|
|
26
|
+
case "HKQuantityTypeIdentifierAtrialFibrillationBurden":
|
|
27
|
+
self = .hkquantitytypeidentifieratrialfibrillationburden
|
|
28
|
+
case "HKQuantityTypeIdentifierWalkingHeartRateAverage":
|
|
29
|
+
self = .hkquantitytypeidentifierwalkingheartrateaverage
|
|
52
30
|
case "HKQuantityTypeIdentifierActiveEnergyBurned":
|
|
53
31
|
self = .hkquantitytypeidentifieractiveenergyburned
|
|
54
|
-
case "
|
|
55
|
-
self = .
|
|
56
|
-
case "
|
|
57
|
-
self = .
|
|
58
|
-
case "
|
|
59
|
-
self = .
|
|
60
|
-
case "HKQuantityTypeIdentifierDistanceSwimming":
|
|
61
|
-
self = .hkquantitytypeidentifierdistanceswimming
|
|
62
|
-
case "HKQuantityTypeIdentifierSwimmingStrokeCount":
|
|
63
|
-
self = .hkquantitytypeidentifierswimmingstrokecount
|
|
64
|
-
case "HKQuantityTypeIdentifierVO2Max":
|
|
65
|
-
self = .hkquantitytypeidentifiervo2max
|
|
66
|
-
case "HKQuantityTypeIdentifierDistanceDownhillSnowSports":
|
|
67
|
-
self = .hkquantitytypeidentifierdistancedownhillsnowsports
|
|
68
|
-
case "HKQuantityTypeIdentifierHeartRate":
|
|
69
|
-
self = .hkquantitytypeidentifierheartrate
|
|
70
|
-
case "HKQuantityTypeIdentifierBodyTemperature":
|
|
71
|
-
self = .hkquantitytypeidentifierbodytemperature
|
|
32
|
+
case "HKQuantityTypeIdentifierAppleMoveTime":
|
|
33
|
+
self = .hkquantitytypeidentifierapplemovetime
|
|
34
|
+
case "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances":
|
|
35
|
+
self = .hkquantitytypeidentifierapplesleepingbreathingdisturbances
|
|
36
|
+
case "HKQuantityTypeIdentifierAppleSleepingWristTemperature":
|
|
37
|
+
self = .hkquantitytypeidentifierapplesleepingwristtemperature
|
|
72
38
|
case "HKQuantityTypeIdentifierBasalBodyTemperature":
|
|
73
39
|
self = .hkquantitytypeidentifierbasalbodytemperature
|
|
74
|
-
case "
|
|
75
|
-
self = .
|
|
76
|
-
case "HKQuantityTypeIdentifierBloodPressureDiastolic":
|
|
77
|
-
self = .hkquantitytypeidentifierbloodpressurediastolic
|
|
78
|
-
case "HKQuantityTypeIdentifierRespiratoryRate":
|
|
79
|
-
self = .hkquantitytypeidentifierrespiratoryrate
|
|
80
|
-
case "HKQuantityTypeIdentifierRestingHeartRate":
|
|
81
|
-
self = .hkquantitytypeidentifierrestingheartrate
|
|
82
|
-
case "HKQuantityTypeIdentifierHeartRateVariabilitySDNN":
|
|
83
|
-
self = .hkquantitytypeidentifierheartratevariabilitysdnn
|
|
84
|
-
case "HKQuantityTypeIdentifierOxygenSaturation":
|
|
85
|
-
self = .hkquantitytypeidentifieroxygensaturation
|
|
86
|
-
case "HKQuantityTypeIdentifierPeripheralPerfusionIndex":
|
|
87
|
-
self = .hkquantitytypeidentifierperipheralperfusionindex
|
|
88
|
-
case "HKQuantityTypeIdentifierBloodGlucose":
|
|
89
|
-
self = .hkquantitytypeidentifierbloodglucose
|
|
90
|
-
case "HKQuantityTypeIdentifierBloodKetones":
|
|
91
|
-
self = .hkquantitytypeidentifierbloodketones
|
|
92
|
-
case "HKQuantityTypeIdentifierNumberOfTimesFallen":
|
|
93
|
-
self = .hkquantitytypeidentifiernumberoftimesfallen
|
|
94
|
-
case "HKQuantityTypeIdentifierElectrodermalActivity":
|
|
95
|
-
self = .hkquantitytypeidentifierelectrodermalactivity
|
|
96
|
-
case "HKQuantityTypeIdentifierInhalerUsage":
|
|
97
|
-
self = .hkquantitytypeidentifierinhalerusage
|
|
98
|
-
case "HKQuantityTypeIdentifierInsulinDelivery":
|
|
99
|
-
self = .hkquantitytypeidentifierinsulindelivery
|
|
40
|
+
case "HKQuantityTypeIdentifierBasalEnergyBurned":
|
|
41
|
+
self = .hkquantitytypeidentifierbasalenergyburned
|
|
100
42
|
case "HKQuantityTypeIdentifierBloodAlcoholContent":
|
|
101
43
|
self = .hkquantitytypeidentifierbloodalcoholcontent
|
|
102
|
-
case "
|
|
103
|
-
self = .
|
|
104
|
-
case "
|
|
105
|
-
self = .
|
|
106
|
-
case "
|
|
107
|
-
self = .
|
|
108
|
-
case "
|
|
109
|
-
self = .
|
|
110
|
-
case "
|
|
111
|
-
self = .
|
|
112
|
-
case "
|
|
113
|
-
self = .
|
|
114
|
-
case "
|
|
115
|
-
self = .
|
|
44
|
+
case "HKQuantityTypeIdentifierBloodGlucose":
|
|
45
|
+
self = .hkquantitytypeidentifierbloodglucose
|
|
46
|
+
case "HKQuantityTypeIdentifierBloodPressureDiastolic":
|
|
47
|
+
self = .hkquantitytypeidentifierbloodpressurediastolic
|
|
48
|
+
case "HKQuantityTypeIdentifierBloodPressureSystolic":
|
|
49
|
+
self = .hkquantitytypeidentifierbloodpressuresystolic
|
|
50
|
+
case "HKQuantityTypeIdentifierBodyFatPercentage":
|
|
51
|
+
self = .hkquantitytypeidentifierbodyfatpercentage
|
|
52
|
+
case "HKQuantityTypeIdentifierBodyMass":
|
|
53
|
+
self = .hkquantitytypeidentifierbodymass
|
|
54
|
+
case "HKQuantityTypeIdentifierBodyMassIndex":
|
|
55
|
+
self = .hkquantitytypeidentifierbodymassindex
|
|
56
|
+
case "HKQuantityTypeIdentifierBodyTemperature":
|
|
57
|
+
self = .hkquantitytypeidentifierbodytemperature
|
|
58
|
+
case "HKQuantityTypeIdentifierCrossCountrySkiingSpeed":
|
|
59
|
+
self = .hkquantitytypeidentifiercrosscountryskiingspeed
|
|
60
|
+
case "HKQuantityTypeIdentifierCyclingCadence":
|
|
61
|
+
self = .hkquantitytypeidentifiercyclingcadence
|
|
62
|
+
case "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower":
|
|
63
|
+
self = .hkquantitytypeidentifiercyclingfunctionalthresholdpower
|
|
64
|
+
case "HKQuantityTypeIdentifierCyclingPower":
|
|
65
|
+
self = .hkquantitytypeidentifiercyclingpower
|
|
66
|
+
case "HKQuantityTypeIdentifierCyclingSpeed":
|
|
67
|
+
self = .hkquantitytypeidentifiercyclingspeed
|
|
68
|
+
case "HKQuantityTypeIdentifierDietaryBiotin":
|
|
69
|
+
self = .hkquantitytypeidentifierdietarybiotin
|
|
70
|
+
case "HKQuantityTypeIdentifierDietaryCaffeine":
|
|
71
|
+
self = .hkquantitytypeidentifierdietarycaffeine
|
|
72
|
+
case "HKQuantityTypeIdentifierDietaryCalcium":
|
|
73
|
+
self = .hkquantitytypeidentifierdietarycalcium
|
|
74
|
+
case "HKQuantityTypeIdentifierDietaryCarbohydrates":
|
|
75
|
+
self = .hkquantitytypeidentifierdietarycarbohydrates
|
|
76
|
+
case "HKQuantityTypeIdentifierDietaryChloride":
|
|
77
|
+
self = .hkquantitytypeidentifierdietarychloride
|
|
78
|
+
case "HKQuantityTypeIdentifierDietaryCholesterol":
|
|
79
|
+
self = .hkquantitytypeidentifierdietarycholesterol
|
|
80
|
+
case "HKQuantityTypeIdentifierDietaryChromium":
|
|
81
|
+
self = .hkquantitytypeidentifierdietarychromium
|
|
82
|
+
case "HKQuantityTypeIdentifierDietaryCopper":
|
|
83
|
+
self = .hkquantitytypeidentifierdietarycopper
|
|
84
|
+
case "HKQuantityTypeIdentifierDietaryEnergyConsumed":
|
|
85
|
+
self = .hkquantitytypeidentifierdietaryenergyconsumed
|
|
116
86
|
case "HKQuantityTypeIdentifierDietaryFatMonounsaturated":
|
|
117
87
|
self = .hkquantitytypeidentifierdietaryfatmonounsaturated
|
|
88
|
+
case "HKQuantityTypeIdentifierDietaryFatPolyunsaturated":
|
|
89
|
+
self = .hkquantitytypeidentifierdietaryfatpolyunsaturated
|
|
118
90
|
case "HKQuantityTypeIdentifierDietaryFatSaturated":
|
|
119
91
|
self = .hkquantitytypeidentifierdietaryfatsaturated
|
|
120
|
-
case "
|
|
121
|
-
self = .
|
|
122
|
-
case "HKQuantityTypeIdentifierDietarySodium":
|
|
123
|
-
self = .hkquantitytypeidentifierdietarysodium
|
|
124
|
-
case "HKQuantityTypeIdentifierDietaryCarbohydrates":
|
|
125
|
-
self = .hkquantitytypeidentifierdietarycarbohydrates
|
|
92
|
+
case "HKQuantityTypeIdentifierDietaryFatTotal":
|
|
93
|
+
self = .hkquantitytypeidentifierdietaryfattotal
|
|
126
94
|
case "HKQuantityTypeIdentifierDietaryFiber":
|
|
127
95
|
self = .hkquantitytypeidentifierdietaryfiber
|
|
128
|
-
case "
|
|
129
|
-
self = .
|
|
130
|
-
case "
|
|
131
|
-
self = .
|
|
96
|
+
case "HKQuantityTypeIdentifierDietaryFolate":
|
|
97
|
+
self = .hkquantitytypeidentifierdietaryfolate
|
|
98
|
+
case "HKQuantityTypeIdentifierDietaryIodine":
|
|
99
|
+
self = .hkquantitytypeidentifierdietaryiodine
|
|
100
|
+
case "HKQuantityTypeIdentifierDietaryIron":
|
|
101
|
+
self = .hkquantitytypeidentifierdietaryiron
|
|
102
|
+
case "HKQuantityTypeIdentifierDietaryMagnesium":
|
|
103
|
+
self = .hkquantitytypeidentifierdietarymagnesium
|
|
104
|
+
case "HKQuantityTypeIdentifierDietaryManganese":
|
|
105
|
+
self = .hkquantitytypeidentifierdietarymanganese
|
|
106
|
+
case "HKQuantityTypeIdentifierDietaryMolybdenum":
|
|
107
|
+
self = .hkquantitytypeidentifierdietarymolybdenum
|
|
108
|
+
case "HKQuantityTypeIdentifierDietaryNiacin":
|
|
109
|
+
self = .hkquantitytypeidentifierdietaryniacin
|
|
110
|
+
case "HKQuantityTypeIdentifierDietaryPantothenicAcid":
|
|
111
|
+
self = .hkquantitytypeidentifierdietarypantothenicacid
|
|
112
|
+
case "HKQuantityTypeIdentifierDietaryPhosphorus":
|
|
113
|
+
self = .hkquantitytypeidentifierdietaryphosphorus
|
|
114
|
+
case "HKQuantityTypeIdentifierDietaryPotassium":
|
|
115
|
+
self = .hkquantitytypeidentifierdietarypotassium
|
|
132
116
|
case "HKQuantityTypeIdentifierDietaryProtein":
|
|
133
117
|
self = .hkquantitytypeidentifierdietaryprotein
|
|
118
|
+
case "HKQuantityTypeIdentifierDietaryRiboflavin":
|
|
119
|
+
self = .hkquantitytypeidentifierdietaryriboflavin
|
|
120
|
+
case "HKQuantityTypeIdentifierDietarySelenium":
|
|
121
|
+
self = .hkquantitytypeidentifierdietaryselenium
|
|
122
|
+
case "HKQuantityTypeIdentifierDietarySodium":
|
|
123
|
+
self = .hkquantitytypeidentifierdietarysodium
|
|
124
|
+
case "HKQuantityTypeIdentifierDietarySugar":
|
|
125
|
+
self = .hkquantitytypeidentifierdietarysugar
|
|
126
|
+
case "HKQuantityTypeIdentifierDietaryThiamin":
|
|
127
|
+
self = .hkquantitytypeidentifierdietarythiamin
|
|
134
128
|
case "HKQuantityTypeIdentifierDietaryVitaminA":
|
|
135
129
|
self = .hkquantitytypeidentifierdietaryvitamina
|
|
136
|
-
case "HKQuantityTypeIdentifierDietaryVitaminB6":
|
|
137
|
-
self = .hkquantitytypeidentifierdietaryvitaminb6
|
|
138
130
|
case "HKQuantityTypeIdentifierDietaryVitaminB12":
|
|
139
131
|
self = .hkquantitytypeidentifierdietaryvitaminb12
|
|
132
|
+
case "HKQuantityTypeIdentifierDietaryVitaminB6":
|
|
133
|
+
self = .hkquantitytypeidentifierdietaryvitaminb6
|
|
140
134
|
case "HKQuantityTypeIdentifierDietaryVitaminC":
|
|
141
135
|
self = .hkquantitytypeidentifierdietaryvitaminc
|
|
142
136
|
case "HKQuantityTypeIdentifierDietaryVitaminD":
|
|
@@ -145,118 +139,122 @@ public extension QuantityTypeIdentifier {
|
|
|
145
139
|
self = .hkquantitytypeidentifierdietaryvitamine
|
|
146
140
|
case "HKQuantityTypeIdentifierDietaryVitaminK":
|
|
147
141
|
self = .hkquantitytypeidentifierdietaryvitamink
|
|
148
|
-
case "HKQuantityTypeIdentifierDietaryCalcium":
|
|
149
|
-
self = .hkquantitytypeidentifierdietarycalcium
|
|
150
|
-
case "HKQuantityTypeIdentifierDietaryIron":
|
|
151
|
-
self = .hkquantitytypeidentifierdietaryiron
|
|
152
|
-
case "HKQuantityTypeIdentifierDietaryThiamin":
|
|
153
|
-
self = .hkquantitytypeidentifierdietarythiamin
|
|
154
|
-
case "HKQuantityTypeIdentifierDietaryRiboflavin":
|
|
155
|
-
self = .hkquantitytypeidentifierdietaryriboflavin
|
|
156
|
-
case "HKQuantityTypeIdentifierDietaryNiacin":
|
|
157
|
-
self = .hkquantitytypeidentifierdietaryniacin
|
|
158
|
-
case "HKQuantityTypeIdentifierDietaryFolate":
|
|
159
|
-
self = .hkquantitytypeidentifierdietaryfolate
|
|
160
|
-
case "HKQuantityTypeIdentifierDietaryBiotin":
|
|
161
|
-
self = .hkquantitytypeidentifierdietarybiotin
|
|
162
|
-
case "HKQuantityTypeIdentifierDietaryPantothenicAcid":
|
|
163
|
-
self = .hkquantitytypeidentifierdietarypantothenicacid
|
|
164
|
-
case "HKQuantityTypeIdentifierDietaryPhosphorus":
|
|
165
|
-
self = .hkquantitytypeidentifierdietaryphosphorus
|
|
166
|
-
case "HKQuantityTypeIdentifierDietaryIodine":
|
|
167
|
-
self = .hkquantitytypeidentifierdietaryiodine
|
|
168
|
-
case "HKQuantityTypeIdentifierDietaryMagnesium":
|
|
169
|
-
self = .hkquantitytypeidentifierdietarymagnesium
|
|
170
|
-
case "HKQuantityTypeIdentifierDietaryZinc":
|
|
171
|
-
self = .hkquantitytypeidentifierdietaryzinc
|
|
172
|
-
case "HKQuantityTypeIdentifierDietarySelenium":
|
|
173
|
-
self = .hkquantitytypeidentifierdietaryselenium
|
|
174
|
-
case "HKQuantityTypeIdentifierDietaryCopper":
|
|
175
|
-
self = .hkquantitytypeidentifierdietarycopper
|
|
176
|
-
case "HKQuantityTypeIdentifierDietaryManganese":
|
|
177
|
-
self = .hkquantitytypeidentifierdietarymanganese
|
|
178
|
-
case "HKQuantityTypeIdentifierDietaryChromium":
|
|
179
|
-
self = .hkquantitytypeidentifierdietarychromium
|
|
180
|
-
case "HKQuantityTypeIdentifierDietaryMolybdenum":
|
|
181
|
-
self = .hkquantitytypeidentifierdietarymolybdenum
|
|
182
|
-
case "HKQuantityTypeIdentifierDietaryChloride":
|
|
183
|
-
self = .hkquantitytypeidentifierdietarychloride
|
|
184
|
-
case "HKQuantityTypeIdentifierDietaryPotassium":
|
|
185
|
-
self = .hkquantitytypeidentifierdietarypotassium
|
|
186
|
-
case "HKQuantityTypeIdentifierDietaryCaffeine":
|
|
187
|
-
self = .hkquantitytypeidentifierdietarycaffeine
|
|
188
142
|
case "HKQuantityTypeIdentifierDietaryWater":
|
|
189
143
|
self = .hkquantitytypeidentifierdietarywater
|
|
190
|
-
case "
|
|
191
|
-
self = .
|
|
192
|
-
case "HKQuantityTypeIdentifierWalkingSpeed":
|
|
193
|
-
self = .hkquantitytypeidentifierwalkingspeed
|
|
194
|
-
case "HKQuantityTypeIdentifierWalkingStepLength":
|
|
195
|
-
self = .hkquantitytypeidentifierwalkingsteplength
|
|
196
|
-
case "HKQuantityTypeIdentifierWalkingAsymmetryPercentage":
|
|
197
|
-
self = .hkquantitytypeidentifierwalkingasymmetrypercentage
|
|
198
|
-
case "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage":
|
|
199
|
-
self = .hkquantitytypeidentifierwalkingdoublesupportpercentage
|
|
200
|
-
case "HKQuantityTypeIdentifierStairAscentSpeed":
|
|
201
|
-
self = .hkquantitytypeidentifierstairascentspeed
|
|
202
|
-
case "HKQuantityTypeIdentifierStairDescentSpeed":
|
|
203
|
-
self = .hkquantitytypeidentifierstairdescentspeed
|
|
204
|
-
case "HKQuantityTypeIdentifierUVExposure":
|
|
205
|
-
self = .hkquantitytypeidentifieruvexposure
|
|
206
|
-
case "HKQuantityTypeIdentifierAppleMoveTime":
|
|
207
|
-
self = .hkquantitytypeidentifierapplemovetime
|
|
208
|
-
case "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages":
|
|
209
|
-
self = .hkquantitytypeidentifiernumberofalcoholicbeverages
|
|
210
|
-
case "HKQuantityTypeIdentifierUnderwaterDepth":
|
|
211
|
-
self = .hkquantitytypeidentifierunderwaterdepth
|
|
212
|
-
case "HKQuantityTypeIdentifierWaterTemperature":
|
|
213
|
-
self = .hkquantitytypeidentifierwatertemperature
|
|
214
|
-
case "HKQuantityTypeIdentifierAppleSleepingWristTemperature":
|
|
215
|
-
self = .hkquantitytypeidentifierapplesleepingwristtemperature
|
|
216
|
-
case "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances":
|
|
217
|
-
self = .hkquantitytypeidentifierapplesleepingbreathingdisturbances
|
|
218
|
-
case "HKQuantityTypeIdentifierTimeInDaylight":
|
|
219
|
-
self = .hkquantitytypeidentifiertimeindaylight
|
|
220
|
-
case "HKQuantityTypeIdentifierPhysicalEffort":
|
|
221
|
-
self = .hkquantitytypeidentifierphysicaleffort
|
|
222
|
-
case "HKQuantityTypeIdentifierCyclingSpeed":
|
|
223
|
-
self = .hkquantitytypeidentifiercyclingspeed
|
|
224
|
-
case "HKQuantityTypeIdentifierCyclingPower":
|
|
225
|
-
self = .hkquantitytypeidentifiercyclingpower
|
|
226
|
-
case "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower":
|
|
227
|
-
self = .hkquantitytypeidentifiercyclingfunctionalthresholdpower
|
|
228
|
-
case "HKQuantityTypeIdentifierCyclingCadence":
|
|
229
|
-
self = .hkquantitytypeidentifiercyclingcadence
|
|
230
|
-
case "HKQuantityTypeIdentifierEnvironmentalSoundReduction":
|
|
231
|
-
self = .hkquantitytypeidentifierenvironmentalsoundreduction
|
|
232
|
-
case "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute":
|
|
233
|
-
self = .hkquantitytypeidentifierheartraterecoveryoneminute
|
|
234
|
-
case "HKQuantityTypeIdentifierRunningGroundContactTime":
|
|
235
|
-
self = .hkquantitytypeidentifierrunninggroundcontacttime
|
|
236
|
-
case "HKQuantityTypeIdentifierRunningStrideLength":
|
|
237
|
-
self = .hkquantitytypeidentifierrunningstridelength
|
|
238
|
-
case "HKQuantityTypeIdentifierRunningPower":
|
|
239
|
-
self = .hkquantitytypeidentifierrunningpower
|
|
240
|
-
case "HKQuantityTypeIdentifierRunningVerticalOscillation":
|
|
241
|
-
self = .hkquantitytypeidentifierrunningverticaloscillation
|
|
242
|
-
case "HKQuantityTypeIdentifierRunningSpeed":
|
|
243
|
-
self = .hkquantitytypeidentifierrunningspeed
|
|
244
|
-
case "HKQuantityTypeIdentifierCrossCountrySkiingSpeed":
|
|
245
|
-
self = .hkquantitytypeidentifiercrosscountryskiingspeed
|
|
144
|
+
case "HKQuantityTypeIdentifierDietaryZinc":
|
|
145
|
+
self = .hkquantitytypeidentifierdietaryzinc
|
|
246
146
|
case "HKQuantityTypeIdentifierDistanceCrossCountrySkiing":
|
|
247
147
|
self = .hkquantitytypeidentifierdistancecrosscountryskiing
|
|
148
|
+
case "HKQuantityTypeIdentifierDistanceCycling":
|
|
149
|
+
self = .hkquantitytypeidentifierdistancecycling
|
|
150
|
+
case "HKQuantityTypeIdentifierDistanceDownhillSnowSports":
|
|
151
|
+
self = .hkquantitytypeidentifierdistancedownhillsnowsports
|
|
248
152
|
case "HKQuantityTypeIdentifierDistancePaddleSports":
|
|
249
153
|
self = .hkquantitytypeidentifierdistancepaddlesports
|
|
250
154
|
case "HKQuantityTypeIdentifierDistanceRowing":
|
|
251
155
|
self = .hkquantitytypeidentifierdistancerowing
|
|
252
156
|
case "HKQuantityTypeIdentifierDistanceSkatingSports":
|
|
253
157
|
self = .hkquantitytypeidentifierdistanceskatingsports
|
|
158
|
+
case "HKQuantityTypeIdentifierDistanceSwimming":
|
|
159
|
+
self = .hkquantitytypeidentifierdistanceswimming
|
|
160
|
+
case "HKQuantityTypeIdentifierDistanceWalkingRunning":
|
|
161
|
+
self = .hkquantitytypeidentifierdistancewalkingrunning
|
|
162
|
+
case "HKQuantityTypeIdentifierDistanceWheelchair":
|
|
163
|
+
self = .hkquantitytypeidentifierdistancewheelchair
|
|
164
|
+
case "HKQuantityTypeIdentifierElectrodermalActivity":
|
|
165
|
+
self = .hkquantitytypeidentifierelectrodermalactivity
|
|
166
|
+
case "HKQuantityTypeIdentifierEnvironmentalAudioExposure":
|
|
167
|
+
self = .hkquantitytypeidentifierenvironmentalaudioexposure
|
|
168
|
+
case "HKQuantityTypeIdentifierEnvironmentalSoundReduction":
|
|
169
|
+
self = .hkquantitytypeidentifierenvironmentalsoundreduction
|
|
254
170
|
case "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore":
|
|
255
171
|
self = .hkquantitytypeidentifierestimatedworkouteffortscore
|
|
172
|
+
case "HKQuantityTypeIdentifierFlightsClimbed":
|
|
173
|
+
self = .hkquantitytypeidentifierflightsclimbed
|
|
174
|
+
case "HKQuantityTypeIdentifierForcedExpiratoryVolume1":
|
|
175
|
+
self = .hkquantitytypeidentifierforcedexpiratoryvolume1
|
|
176
|
+
case "HKQuantityTypeIdentifierForcedVitalCapacity":
|
|
177
|
+
self = .hkquantitytypeidentifierforcedvitalcapacity
|
|
178
|
+
case "HKQuantityTypeIdentifierHeadphoneAudioExposure":
|
|
179
|
+
self = .hkquantitytypeidentifierheadphoneaudioexposure
|
|
180
|
+
case "HKQuantityTypeIdentifierHeartRate":
|
|
181
|
+
self = .hkquantitytypeidentifierheartrate
|
|
182
|
+
case "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute":
|
|
183
|
+
self = .hkquantitytypeidentifierheartraterecoveryoneminute
|
|
184
|
+
case "HKQuantityTypeIdentifierHeartRateVariabilitySDNN":
|
|
185
|
+
self = .hkquantitytypeidentifierheartratevariabilitysdnn
|
|
186
|
+
case "HKQuantityTypeIdentifierHeight":
|
|
187
|
+
self = .hkquantitytypeidentifierheight
|
|
188
|
+
case "HKQuantityTypeIdentifierInhalerUsage":
|
|
189
|
+
self = .hkquantitytypeidentifierinhalerusage
|
|
190
|
+
case "HKQuantityTypeIdentifierInsulinDelivery":
|
|
191
|
+
self = .hkquantitytypeidentifierinsulindelivery
|
|
192
|
+
case "HKQuantityTypeIdentifierLeanBodyMass":
|
|
193
|
+
self = .hkquantitytypeidentifierleanbodymass
|
|
194
|
+
case "HKQuantityTypeIdentifierNikeFuel":
|
|
195
|
+
self = .hkquantitytypeidentifiernikefuel
|
|
196
|
+
case "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages":
|
|
197
|
+
self = .hkquantitytypeidentifiernumberofalcoholicbeverages
|
|
198
|
+
case "HKQuantityTypeIdentifierNumberOfTimesFallen":
|
|
199
|
+
self = .hkquantitytypeidentifiernumberoftimesfallen
|
|
200
|
+
case "HKQuantityTypeIdentifierOxygenSaturation":
|
|
201
|
+
self = .hkquantitytypeidentifieroxygensaturation
|
|
256
202
|
case "HKQuantityTypeIdentifierPaddleSportsSpeed":
|
|
257
203
|
self = .hkquantitytypeidentifierpaddlesportsspeed
|
|
204
|
+
case "HKQuantityTypeIdentifierPeakExpiratoryFlowRate":
|
|
205
|
+
self = .hkquantitytypeidentifierpeakexpiratoryflowrate
|
|
206
|
+
case "HKQuantityTypeIdentifierPeripheralPerfusionIndex":
|
|
207
|
+
self = .hkquantitytypeidentifierperipheralperfusionindex
|
|
208
|
+
case "HKQuantityTypeIdentifierPhysicalEffort":
|
|
209
|
+
self = .hkquantitytypeidentifierphysicaleffort
|
|
210
|
+
case "HKQuantityTypeIdentifierPushCount":
|
|
211
|
+
self = .hkquantitytypeidentifierpushcount
|
|
212
|
+
case "HKQuantityTypeIdentifierRespiratoryRate":
|
|
213
|
+
self = .hkquantitytypeidentifierrespiratoryrate
|
|
214
|
+
case "HKQuantityTypeIdentifierRestingHeartRate":
|
|
215
|
+
self = .hkquantitytypeidentifierrestingheartrate
|
|
258
216
|
case "HKQuantityTypeIdentifierRowingSpeed":
|
|
259
217
|
self = .hkquantitytypeidentifierrowingspeed
|
|
218
|
+
case "HKQuantityTypeIdentifierRunningGroundContactTime":
|
|
219
|
+
self = .hkquantitytypeidentifierrunninggroundcontacttime
|
|
220
|
+
case "HKQuantityTypeIdentifierRunningPower":
|
|
221
|
+
self = .hkquantitytypeidentifierrunningpower
|
|
222
|
+
case "HKQuantityTypeIdentifierRunningSpeed":
|
|
223
|
+
self = .hkquantitytypeidentifierrunningspeed
|
|
224
|
+
case "HKQuantityTypeIdentifierRunningStrideLength":
|
|
225
|
+
self = .hkquantitytypeidentifierrunningstridelength
|
|
226
|
+
case "HKQuantityTypeIdentifierRunningVerticalOscillation":
|
|
227
|
+
self = .hkquantitytypeidentifierrunningverticaloscillation
|
|
228
|
+
case "HKQuantityTypeIdentifierSixMinuteWalkTestDistance":
|
|
229
|
+
self = .hkquantitytypeidentifiersixminutewalktestdistance
|
|
230
|
+
case "HKQuantityTypeIdentifierStairAscentSpeed":
|
|
231
|
+
self = .hkquantitytypeidentifierstairascentspeed
|
|
232
|
+
case "HKQuantityTypeIdentifierStairDescentSpeed":
|
|
233
|
+
self = .hkquantitytypeidentifierstairdescentspeed
|
|
234
|
+
case "HKQuantityTypeIdentifierStepCount":
|
|
235
|
+
self = .hkquantitytypeidentifierstepcount
|
|
236
|
+
case "HKQuantityTypeIdentifierSwimmingStrokeCount":
|
|
237
|
+
self = .hkquantitytypeidentifierswimmingstrokecount
|
|
238
|
+
case "HKQuantityTypeIdentifierTimeInDaylight":
|
|
239
|
+
self = .hkquantitytypeidentifiertimeindaylight
|
|
240
|
+
case "HKQuantityTypeIdentifierUnderwaterDepth":
|
|
241
|
+
self = .hkquantitytypeidentifierunderwaterdepth
|
|
242
|
+
case "HKQuantityTypeIdentifierUVExposure":
|
|
243
|
+
self = .hkquantitytypeidentifieruvexposure
|
|
244
|
+
case "HKQuantityTypeIdentifierVO2Max":
|
|
245
|
+
self = .hkquantitytypeidentifiervo2max
|
|
246
|
+
case "HKQuantityTypeIdentifierWaistCircumference":
|
|
247
|
+
self = .hkquantitytypeidentifierwaistcircumference
|
|
248
|
+
case "HKQuantityTypeIdentifierWalkingAsymmetryPercentage":
|
|
249
|
+
self = .hkquantitytypeidentifierwalkingasymmetrypercentage
|
|
250
|
+
case "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage":
|
|
251
|
+
self = .hkquantitytypeidentifierwalkingdoublesupportpercentage
|
|
252
|
+
case "HKQuantityTypeIdentifierWalkingSpeed":
|
|
253
|
+
self = .hkquantitytypeidentifierwalkingspeed
|
|
254
|
+
case "HKQuantityTypeIdentifierWalkingStepLength":
|
|
255
|
+
self = .hkquantitytypeidentifierwalkingsteplength
|
|
256
|
+
case "HKQuantityTypeIdentifierWaterTemperature":
|
|
257
|
+
self = .hkquantitytypeidentifierwatertemperature
|
|
260
258
|
case "HKQuantityTypeIdentifierWorkoutEffortScore":
|
|
261
259
|
self = .hkquantitytypeidentifierworkouteffortscore
|
|
262
260
|
default:
|
|
@@ -269,126 +267,120 @@ public extension QuantityTypeIdentifier {
|
|
|
269
267
|
*/
|
|
270
268
|
var stringValue: String {
|
|
271
269
|
switch self {
|
|
272
|
-
case .hkquantitytypeidentifierwalkingheartrateaverage:
|
|
273
|
-
return "HKQuantityTypeIdentifierWalkingHeartRateAverage"
|
|
274
|
-
case .hkquantitytypeidentifieratrialfibrillationburden:
|
|
275
|
-
return "HKQuantityTypeIdentifierAtrialFibrillationBurden"
|
|
276
270
|
case .hkquantitytypeidentifierappleexercisetime:
|
|
277
271
|
return "HKQuantityTypeIdentifierAppleExerciseTime"
|
|
278
272
|
case .hkquantitytypeidentifierapplestandtime:
|
|
279
273
|
return "HKQuantityTypeIdentifierAppleStandTime"
|
|
280
274
|
case .hkquantitytypeidentifierapplewalkingsteadiness:
|
|
281
275
|
return "HKQuantityTypeIdentifierAppleWalkingSteadiness"
|
|
282
|
-
case .
|
|
283
|
-
return "
|
|
284
|
-
case .
|
|
285
|
-
return "
|
|
286
|
-
case .hkquantitytypeidentifierheight:
|
|
287
|
-
return "HKQuantityTypeIdentifierHeight"
|
|
288
|
-
case .hkquantitytypeidentifierbodymass:
|
|
289
|
-
return "HKQuantityTypeIdentifierBodyMass"
|
|
290
|
-
case .hkquantitytypeidentifierleanbodymass:
|
|
291
|
-
return "HKQuantityTypeIdentifierLeanBodyMass"
|
|
292
|
-
case .hkquantitytypeidentifierwaistcircumference:
|
|
293
|
-
return "HKQuantityTypeIdentifierWaistCircumference"
|
|
294
|
-
case .hkquantitytypeidentifierstepcount:
|
|
295
|
-
return "HKQuantityTypeIdentifierStepCount"
|
|
296
|
-
case .hkquantitytypeidentifierdistancewalkingrunning:
|
|
297
|
-
return "HKQuantityTypeIdentifierDistanceWalkingRunning"
|
|
298
|
-
case .hkquantitytypeidentifierdistancecycling:
|
|
299
|
-
return "HKQuantityTypeIdentifierDistanceCycling"
|
|
300
|
-
case .hkquantitytypeidentifierdistancewheelchair:
|
|
301
|
-
return "HKQuantityTypeIdentifierDistanceWheelchair"
|
|
302
|
-
case .hkquantitytypeidentifierbasalenergyburned:
|
|
303
|
-
return "HKQuantityTypeIdentifierBasalEnergyBurned"
|
|
276
|
+
case .hkquantitytypeidentifieratrialfibrillationburden:
|
|
277
|
+
return "HKQuantityTypeIdentifierAtrialFibrillationBurden"
|
|
278
|
+
case .hkquantitytypeidentifierwalkingheartrateaverage:
|
|
279
|
+
return "HKQuantityTypeIdentifierWalkingHeartRateAverage"
|
|
304
280
|
case .hkquantitytypeidentifieractiveenergyburned:
|
|
305
281
|
return "HKQuantityTypeIdentifierActiveEnergyBurned"
|
|
306
|
-
case .
|
|
307
|
-
return "
|
|
308
|
-
case .
|
|
309
|
-
return "
|
|
310
|
-
case .
|
|
311
|
-
return "
|
|
312
|
-
case .hkquantitytypeidentifierdistanceswimming:
|
|
313
|
-
return "HKQuantityTypeIdentifierDistanceSwimming"
|
|
314
|
-
case .hkquantitytypeidentifierswimmingstrokecount:
|
|
315
|
-
return "HKQuantityTypeIdentifierSwimmingStrokeCount"
|
|
316
|
-
case .hkquantitytypeidentifiervo2max:
|
|
317
|
-
return "HKQuantityTypeIdentifierVO2Max"
|
|
318
|
-
case .hkquantitytypeidentifierdistancedownhillsnowsports:
|
|
319
|
-
return "HKQuantityTypeIdentifierDistanceDownhillSnowSports"
|
|
320
|
-
case .hkquantitytypeidentifierheartrate:
|
|
321
|
-
return "HKQuantityTypeIdentifierHeartRate"
|
|
322
|
-
case .hkquantitytypeidentifierbodytemperature:
|
|
323
|
-
return "HKQuantityTypeIdentifierBodyTemperature"
|
|
282
|
+
case .hkquantitytypeidentifierapplemovetime:
|
|
283
|
+
return "HKQuantityTypeIdentifierAppleMoveTime"
|
|
284
|
+
case .hkquantitytypeidentifierapplesleepingbreathingdisturbances:
|
|
285
|
+
return "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances"
|
|
286
|
+
case .hkquantitytypeidentifierapplesleepingwristtemperature:
|
|
287
|
+
return "HKQuantityTypeIdentifierAppleSleepingWristTemperature"
|
|
324
288
|
case .hkquantitytypeidentifierbasalbodytemperature:
|
|
325
289
|
return "HKQuantityTypeIdentifierBasalBodyTemperature"
|
|
326
|
-
case .
|
|
327
|
-
return "
|
|
328
|
-
case .hkquantitytypeidentifierbloodpressurediastolic:
|
|
329
|
-
return "HKQuantityTypeIdentifierBloodPressureDiastolic"
|
|
330
|
-
case .hkquantitytypeidentifierrespiratoryrate:
|
|
331
|
-
return "HKQuantityTypeIdentifierRespiratoryRate"
|
|
332
|
-
case .hkquantitytypeidentifierrestingheartrate:
|
|
333
|
-
return "HKQuantityTypeIdentifierRestingHeartRate"
|
|
334
|
-
case .hkquantitytypeidentifierheartratevariabilitysdnn:
|
|
335
|
-
return "HKQuantityTypeIdentifierHeartRateVariabilitySDNN"
|
|
336
|
-
case .hkquantitytypeidentifieroxygensaturation:
|
|
337
|
-
return "HKQuantityTypeIdentifierOxygenSaturation"
|
|
338
|
-
case .hkquantitytypeidentifierperipheralperfusionindex:
|
|
339
|
-
return "HKQuantityTypeIdentifierPeripheralPerfusionIndex"
|
|
340
|
-
case .hkquantitytypeidentifierbloodglucose:
|
|
341
|
-
return "HKQuantityTypeIdentifierBloodGlucose"
|
|
342
|
-
case .hkquantitytypeidentifierbloodketones:
|
|
343
|
-
return "HKQuantityTypeIdentifierBloodKetones"
|
|
344
|
-
case .hkquantitytypeidentifiernumberoftimesfallen:
|
|
345
|
-
return "HKQuantityTypeIdentifierNumberOfTimesFallen"
|
|
346
|
-
case .hkquantitytypeidentifierelectrodermalactivity:
|
|
347
|
-
return "HKQuantityTypeIdentifierElectrodermalActivity"
|
|
348
|
-
case .hkquantitytypeidentifierinhalerusage:
|
|
349
|
-
return "HKQuantityTypeIdentifierInhalerUsage"
|
|
350
|
-
case .hkquantitytypeidentifierinsulindelivery:
|
|
351
|
-
return "HKQuantityTypeIdentifierInsulinDelivery"
|
|
290
|
+
case .hkquantitytypeidentifierbasalenergyburned:
|
|
291
|
+
return "HKQuantityTypeIdentifierBasalEnergyBurned"
|
|
352
292
|
case .hkquantitytypeidentifierbloodalcoholcontent:
|
|
353
293
|
return "HKQuantityTypeIdentifierBloodAlcoholContent"
|
|
354
|
-
case .
|
|
355
|
-
return "
|
|
356
|
-
case .
|
|
357
|
-
return "
|
|
358
|
-
case .
|
|
359
|
-
return "
|
|
360
|
-
case .
|
|
361
|
-
return "
|
|
362
|
-
case .
|
|
363
|
-
return "
|
|
364
|
-
case .
|
|
365
|
-
return "
|
|
366
|
-
case .
|
|
367
|
-
return "
|
|
294
|
+
case .hkquantitytypeidentifierbloodglucose:
|
|
295
|
+
return "HKQuantityTypeIdentifierBloodGlucose"
|
|
296
|
+
case .hkquantitytypeidentifierbloodpressurediastolic:
|
|
297
|
+
return "HKQuantityTypeIdentifierBloodPressureDiastolic"
|
|
298
|
+
case .hkquantitytypeidentifierbloodpressuresystolic:
|
|
299
|
+
return "HKQuantityTypeIdentifierBloodPressureSystolic"
|
|
300
|
+
case .hkquantitytypeidentifierbodyfatpercentage:
|
|
301
|
+
return "HKQuantityTypeIdentifierBodyFatPercentage"
|
|
302
|
+
case .hkquantitytypeidentifierbodymass:
|
|
303
|
+
return "HKQuantityTypeIdentifierBodyMass"
|
|
304
|
+
case .hkquantitytypeidentifierbodymassindex:
|
|
305
|
+
return "HKQuantityTypeIdentifierBodyMassIndex"
|
|
306
|
+
case .hkquantitytypeidentifierbodytemperature:
|
|
307
|
+
return "HKQuantityTypeIdentifierBodyTemperature"
|
|
308
|
+
case .hkquantitytypeidentifiercrosscountryskiingspeed:
|
|
309
|
+
return "HKQuantityTypeIdentifierCrossCountrySkiingSpeed"
|
|
310
|
+
case .hkquantitytypeidentifiercyclingcadence:
|
|
311
|
+
return "HKQuantityTypeIdentifierCyclingCadence"
|
|
312
|
+
case .hkquantitytypeidentifiercyclingfunctionalthresholdpower:
|
|
313
|
+
return "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"
|
|
314
|
+
case .hkquantitytypeidentifiercyclingpower:
|
|
315
|
+
return "HKQuantityTypeIdentifierCyclingPower"
|
|
316
|
+
case .hkquantitytypeidentifiercyclingspeed:
|
|
317
|
+
return "HKQuantityTypeIdentifierCyclingSpeed"
|
|
318
|
+
case .hkquantitytypeidentifierdietarybiotin:
|
|
319
|
+
return "HKQuantityTypeIdentifierDietaryBiotin"
|
|
320
|
+
case .hkquantitytypeidentifierdietarycaffeine:
|
|
321
|
+
return "HKQuantityTypeIdentifierDietaryCaffeine"
|
|
322
|
+
case .hkquantitytypeidentifierdietarycalcium:
|
|
323
|
+
return "HKQuantityTypeIdentifierDietaryCalcium"
|
|
324
|
+
case .hkquantitytypeidentifierdietarycarbohydrates:
|
|
325
|
+
return "HKQuantityTypeIdentifierDietaryCarbohydrates"
|
|
326
|
+
case .hkquantitytypeidentifierdietarychloride:
|
|
327
|
+
return "HKQuantityTypeIdentifierDietaryChloride"
|
|
328
|
+
case .hkquantitytypeidentifierdietarycholesterol:
|
|
329
|
+
return "HKQuantityTypeIdentifierDietaryCholesterol"
|
|
330
|
+
case .hkquantitytypeidentifierdietarychromium:
|
|
331
|
+
return "HKQuantityTypeIdentifierDietaryChromium"
|
|
332
|
+
case .hkquantitytypeidentifierdietarycopper:
|
|
333
|
+
return "HKQuantityTypeIdentifierDietaryCopper"
|
|
334
|
+
case .hkquantitytypeidentifierdietaryenergyconsumed:
|
|
335
|
+
return "HKQuantityTypeIdentifierDietaryEnergyConsumed"
|
|
368
336
|
case .hkquantitytypeidentifierdietaryfatmonounsaturated:
|
|
369
337
|
return "HKQuantityTypeIdentifierDietaryFatMonounsaturated"
|
|
338
|
+
case .hkquantitytypeidentifierdietaryfatpolyunsaturated:
|
|
339
|
+
return "HKQuantityTypeIdentifierDietaryFatPolyunsaturated"
|
|
370
340
|
case .hkquantitytypeidentifierdietaryfatsaturated:
|
|
371
341
|
return "HKQuantityTypeIdentifierDietaryFatSaturated"
|
|
372
|
-
case .
|
|
373
|
-
return "
|
|
374
|
-
case .hkquantitytypeidentifierdietarysodium:
|
|
375
|
-
return "HKQuantityTypeIdentifierDietarySodium"
|
|
376
|
-
case .hkquantitytypeidentifierdietarycarbohydrates:
|
|
377
|
-
return "HKQuantityTypeIdentifierDietaryCarbohydrates"
|
|
342
|
+
case .hkquantitytypeidentifierdietaryfattotal:
|
|
343
|
+
return "HKQuantityTypeIdentifierDietaryFatTotal"
|
|
378
344
|
case .hkquantitytypeidentifierdietaryfiber:
|
|
379
345
|
return "HKQuantityTypeIdentifierDietaryFiber"
|
|
380
|
-
case .
|
|
381
|
-
return "
|
|
382
|
-
case .
|
|
383
|
-
return "
|
|
346
|
+
case .hkquantitytypeidentifierdietaryfolate:
|
|
347
|
+
return "HKQuantityTypeIdentifierDietaryFolate"
|
|
348
|
+
case .hkquantitytypeidentifierdietaryiodine:
|
|
349
|
+
return "HKQuantityTypeIdentifierDietaryIodine"
|
|
350
|
+
case .hkquantitytypeidentifierdietaryiron:
|
|
351
|
+
return "HKQuantityTypeIdentifierDietaryIron"
|
|
352
|
+
case .hkquantitytypeidentifierdietarymagnesium:
|
|
353
|
+
return "HKQuantityTypeIdentifierDietaryMagnesium"
|
|
354
|
+
case .hkquantitytypeidentifierdietarymanganese:
|
|
355
|
+
return "HKQuantityTypeIdentifierDietaryManganese"
|
|
356
|
+
case .hkquantitytypeidentifierdietarymolybdenum:
|
|
357
|
+
return "HKQuantityTypeIdentifierDietaryMolybdenum"
|
|
358
|
+
case .hkquantitytypeidentifierdietaryniacin:
|
|
359
|
+
return "HKQuantityTypeIdentifierDietaryNiacin"
|
|
360
|
+
case .hkquantitytypeidentifierdietarypantothenicacid:
|
|
361
|
+
return "HKQuantityTypeIdentifierDietaryPantothenicAcid"
|
|
362
|
+
case .hkquantitytypeidentifierdietaryphosphorus:
|
|
363
|
+
return "HKQuantityTypeIdentifierDietaryPhosphorus"
|
|
364
|
+
case .hkquantitytypeidentifierdietarypotassium:
|
|
365
|
+
return "HKQuantityTypeIdentifierDietaryPotassium"
|
|
384
366
|
case .hkquantitytypeidentifierdietaryprotein:
|
|
385
367
|
return "HKQuantityTypeIdentifierDietaryProtein"
|
|
368
|
+
case .hkquantitytypeidentifierdietaryriboflavin:
|
|
369
|
+
return "HKQuantityTypeIdentifierDietaryRiboflavin"
|
|
370
|
+
case .hkquantitytypeidentifierdietaryselenium:
|
|
371
|
+
return "HKQuantityTypeIdentifierDietarySelenium"
|
|
372
|
+
case .hkquantitytypeidentifierdietarysodium:
|
|
373
|
+
return "HKQuantityTypeIdentifierDietarySodium"
|
|
374
|
+
case .hkquantitytypeidentifierdietarysugar:
|
|
375
|
+
return "HKQuantityTypeIdentifierDietarySugar"
|
|
376
|
+
case .hkquantitytypeidentifierdietarythiamin:
|
|
377
|
+
return "HKQuantityTypeIdentifierDietaryThiamin"
|
|
386
378
|
case .hkquantitytypeidentifierdietaryvitamina:
|
|
387
379
|
return "HKQuantityTypeIdentifierDietaryVitaminA"
|
|
388
|
-
case .hkquantitytypeidentifierdietaryvitaminb6:
|
|
389
|
-
return "HKQuantityTypeIdentifierDietaryVitaminB6"
|
|
390
380
|
case .hkquantitytypeidentifierdietaryvitaminb12:
|
|
391
381
|
return "HKQuantityTypeIdentifierDietaryVitaminB12"
|
|
382
|
+
case .hkquantitytypeidentifierdietaryvitaminb6:
|
|
383
|
+
return "HKQuantityTypeIdentifierDietaryVitaminB6"
|
|
392
384
|
case .hkquantitytypeidentifierdietaryvitaminc:
|
|
393
385
|
return "HKQuantityTypeIdentifierDietaryVitaminC"
|
|
394
386
|
case .hkquantitytypeidentifierdietaryvitamind:
|
|
@@ -397,118 +389,122 @@ public extension QuantityTypeIdentifier {
|
|
|
397
389
|
return "HKQuantityTypeIdentifierDietaryVitaminE"
|
|
398
390
|
case .hkquantitytypeidentifierdietaryvitamink:
|
|
399
391
|
return "HKQuantityTypeIdentifierDietaryVitaminK"
|
|
400
|
-
case .hkquantitytypeidentifierdietarycalcium:
|
|
401
|
-
return "HKQuantityTypeIdentifierDietaryCalcium"
|
|
402
|
-
case .hkquantitytypeidentifierdietaryiron:
|
|
403
|
-
return "HKQuantityTypeIdentifierDietaryIron"
|
|
404
|
-
case .hkquantitytypeidentifierdietarythiamin:
|
|
405
|
-
return "HKQuantityTypeIdentifierDietaryThiamin"
|
|
406
|
-
case .hkquantitytypeidentifierdietaryriboflavin:
|
|
407
|
-
return "HKQuantityTypeIdentifierDietaryRiboflavin"
|
|
408
|
-
case .hkquantitytypeidentifierdietaryniacin:
|
|
409
|
-
return "HKQuantityTypeIdentifierDietaryNiacin"
|
|
410
|
-
case .hkquantitytypeidentifierdietaryfolate:
|
|
411
|
-
return "HKQuantityTypeIdentifierDietaryFolate"
|
|
412
|
-
case .hkquantitytypeidentifierdietarybiotin:
|
|
413
|
-
return "HKQuantityTypeIdentifierDietaryBiotin"
|
|
414
|
-
case .hkquantitytypeidentifierdietarypantothenicacid:
|
|
415
|
-
return "HKQuantityTypeIdentifierDietaryPantothenicAcid"
|
|
416
|
-
case .hkquantitytypeidentifierdietaryphosphorus:
|
|
417
|
-
return "HKQuantityTypeIdentifierDietaryPhosphorus"
|
|
418
|
-
case .hkquantitytypeidentifierdietaryiodine:
|
|
419
|
-
return "HKQuantityTypeIdentifierDietaryIodine"
|
|
420
|
-
case .hkquantitytypeidentifierdietarymagnesium:
|
|
421
|
-
return "HKQuantityTypeIdentifierDietaryMagnesium"
|
|
422
|
-
case .hkquantitytypeidentifierdietaryzinc:
|
|
423
|
-
return "HKQuantityTypeIdentifierDietaryZinc"
|
|
424
|
-
case .hkquantitytypeidentifierdietaryselenium:
|
|
425
|
-
return "HKQuantityTypeIdentifierDietarySelenium"
|
|
426
|
-
case .hkquantitytypeidentifierdietarycopper:
|
|
427
|
-
return "HKQuantityTypeIdentifierDietaryCopper"
|
|
428
|
-
case .hkquantitytypeidentifierdietarymanganese:
|
|
429
|
-
return "HKQuantityTypeIdentifierDietaryManganese"
|
|
430
|
-
case .hkquantitytypeidentifierdietarychromium:
|
|
431
|
-
return "HKQuantityTypeIdentifierDietaryChromium"
|
|
432
|
-
case .hkquantitytypeidentifierdietarymolybdenum:
|
|
433
|
-
return "HKQuantityTypeIdentifierDietaryMolybdenum"
|
|
434
|
-
case .hkquantitytypeidentifierdietarychloride:
|
|
435
|
-
return "HKQuantityTypeIdentifierDietaryChloride"
|
|
436
|
-
case .hkquantitytypeidentifierdietarypotassium:
|
|
437
|
-
return "HKQuantityTypeIdentifierDietaryPotassium"
|
|
438
|
-
case .hkquantitytypeidentifierdietarycaffeine:
|
|
439
|
-
return "HKQuantityTypeIdentifierDietaryCaffeine"
|
|
440
392
|
case .hkquantitytypeidentifierdietarywater:
|
|
441
393
|
return "HKQuantityTypeIdentifierDietaryWater"
|
|
442
|
-
case .
|
|
443
|
-
return "
|
|
444
|
-
case .hkquantitytypeidentifierwalkingspeed:
|
|
445
|
-
return "HKQuantityTypeIdentifierWalkingSpeed"
|
|
446
|
-
case .hkquantitytypeidentifierwalkingsteplength:
|
|
447
|
-
return "HKQuantityTypeIdentifierWalkingStepLength"
|
|
448
|
-
case .hkquantitytypeidentifierwalkingasymmetrypercentage:
|
|
449
|
-
return "HKQuantityTypeIdentifierWalkingAsymmetryPercentage"
|
|
450
|
-
case .hkquantitytypeidentifierwalkingdoublesupportpercentage:
|
|
451
|
-
return "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"
|
|
452
|
-
case .hkquantitytypeidentifierstairascentspeed:
|
|
453
|
-
return "HKQuantityTypeIdentifierStairAscentSpeed"
|
|
454
|
-
case .hkquantitytypeidentifierstairdescentspeed:
|
|
455
|
-
return "HKQuantityTypeIdentifierStairDescentSpeed"
|
|
456
|
-
case .hkquantitytypeidentifieruvexposure:
|
|
457
|
-
return "HKQuantityTypeIdentifierUVExposure"
|
|
458
|
-
case .hkquantitytypeidentifierapplemovetime:
|
|
459
|
-
return "HKQuantityTypeIdentifierAppleMoveTime"
|
|
460
|
-
case .hkquantitytypeidentifiernumberofalcoholicbeverages:
|
|
461
|
-
return "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"
|
|
462
|
-
case .hkquantitytypeidentifierunderwaterdepth:
|
|
463
|
-
return "HKQuantityTypeIdentifierUnderwaterDepth"
|
|
464
|
-
case .hkquantitytypeidentifierwatertemperature:
|
|
465
|
-
return "HKQuantityTypeIdentifierWaterTemperature"
|
|
466
|
-
case .hkquantitytypeidentifierapplesleepingwristtemperature:
|
|
467
|
-
return "HKQuantityTypeIdentifierAppleSleepingWristTemperature"
|
|
468
|
-
case .hkquantitytypeidentifierapplesleepingbreathingdisturbances:
|
|
469
|
-
return "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances"
|
|
470
|
-
case .hkquantitytypeidentifiertimeindaylight:
|
|
471
|
-
return "HKQuantityTypeIdentifierTimeInDaylight"
|
|
472
|
-
case .hkquantitytypeidentifierphysicaleffort:
|
|
473
|
-
return "HKQuantityTypeIdentifierPhysicalEffort"
|
|
474
|
-
case .hkquantitytypeidentifiercyclingspeed:
|
|
475
|
-
return "HKQuantityTypeIdentifierCyclingSpeed"
|
|
476
|
-
case .hkquantitytypeidentifiercyclingpower:
|
|
477
|
-
return "HKQuantityTypeIdentifierCyclingPower"
|
|
478
|
-
case .hkquantitytypeidentifiercyclingfunctionalthresholdpower:
|
|
479
|
-
return "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"
|
|
480
|
-
case .hkquantitytypeidentifiercyclingcadence:
|
|
481
|
-
return "HKQuantityTypeIdentifierCyclingCadence"
|
|
482
|
-
case .hkquantitytypeidentifierenvironmentalsoundreduction:
|
|
483
|
-
return "HKQuantityTypeIdentifierEnvironmentalSoundReduction"
|
|
484
|
-
case .hkquantitytypeidentifierheartraterecoveryoneminute:
|
|
485
|
-
return "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"
|
|
486
|
-
case .hkquantitytypeidentifierrunninggroundcontacttime:
|
|
487
|
-
return "HKQuantityTypeIdentifierRunningGroundContactTime"
|
|
488
|
-
case .hkquantitytypeidentifierrunningstridelength:
|
|
489
|
-
return "HKQuantityTypeIdentifierRunningStrideLength"
|
|
490
|
-
case .hkquantitytypeidentifierrunningpower:
|
|
491
|
-
return "HKQuantityTypeIdentifierRunningPower"
|
|
492
|
-
case .hkquantitytypeidentifierrunningverticaloscillation:
|
|
493
|
-
return "HKQuantityTypeIdentifierRunningVerticalOscillation"
|
|
494
|
-
case .hkquantitytypeidentifierrunningspeed:
|
|
495
|
-
return "HKQuantityTypeIdentifierRunningSpeed"
|
|
496
|
-
case .hkquantitytypeidentifiercrosscountryskiingspeed:
|
|
497
|
-
return "HKQuantityTypeIdentifierCrossCountrySkiingSpeed"
|
|
394
|
+
case .hkquantitytypeidentifierdietaryzinc:
|
|
395
|
+
return "HKQuantityTypeIdentifierDietaryZinc"
|
|
498
396
|
case .hkquantitytypeidentifierdistancecrosscountryskiing:
|
|
499
397
|
return "HKQuantityTypeIdentifierDistanceCrossCountrySkiing"
|
|
398
|
+
case .hkquantitytypeidentifierdistancecycling:
|
|
399
|
+
return "HKQuantityTypeIdentifierDistanceCycling"
|
|
400
|
+
case .hkquantitytypeidentifierdistancedownhillsnowsports:
|
|
401
|
+
return "HKQuantityTypeIdentifierDistanceDownhillSnowSports"
|
|
500
402
|
case .hkquantitytypeidentifierdistancepaddlesports:
|
|
501
403
|
return "HKQuantityTypeIdentifierDistancePaddleSports"
|
|
502
404
|
case .hkquantitytypeidentifierdistancerowing:
|
|
503
405
|
return "HKQuantityTypeIdentifierDistanceRowing"
|
|
504
406
|
case .hkquantitytypeidentifierdistanceskatingsports:
|
|
505
407
|
return "HKQuantityTypeIdentifierDistanceSkatingSports"
|
|
408
|
+
case .hkquantitytypeidentifierdistanceswimming:
|
|
409
|
+
return "HKQuantityTypeIdentifierDistanceSwimming"
|
|
410
|
+
case .hkquantitytypeidentifierdistancewalkingrunning:
|
|
411
|
+
return "HKQuantityTypeIdentifierDistanceWalkingRunning"
|
|
412
|
+
case .hkquantitytypeidentifierdistancewheelchair:
|
|
413
|
+
return "HKQuantityTypeIdentifierDistanceWheelchair"
|
|
414
|
+
case .hkquantitytypeidentifierelectrodermalactivity:
|
|
415
|
+
return "HKQuantityTypeIdentifierElectrodermalActivity"
|
|
416
|
+
case .hkquantitytypeidentifierenvironmentalaudioexposure:
|
|
417
|
+
return "HKQuantityTypeIdentifierEnvironmentalAudioExposure"
|
|
418
|
+
case .hkquantitytypeidentifierenvironmentalsoundreduction:
|
|
419
|
+
return "HKQuantityTypeIdentifierEnvironmentalSoundReduction"
|
|
506
420
|
case .hkquantitytypeidentifierestimatedworkouteffortscore:
|
|
507
421
|
return "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore"
|
|
422
|
+
case .hkquantitytypeidentifierflightsclimbed:
|
|
423
|
+
return "HKQuantityTypeIdentifierFlightsClimbed"
|
|
424
|
+
case .hkquantitytypeidentifierforcedexpiratoryvolume1:
|
|
425
|
+
return "HKQuantityTypeIdentifierForcedExpiratoryVolume1"
|
|
426
|
+
case .hkquantitytypeidentifierforcedvitalcapacity:
|
|
427
|
+
return "HKQuantityTypeIdentifierForcedVitalCapacity"
|
|
428
|
+
case .hkquantitytypeidentifierheadphoneaudioexposure:
|
|
429
|
+
return "HKQuantityTypeIdentifierHeadphoneAudioExposure"
|
|
430
|
+
case .hkquantitytypeidentifierheartrate:
|
|
431
|
+
return "HKQuantityTypeIdentifierHeartRate"
|
|
432
|
+
case .hkquantitytypeidentifierheartraterecoveryoneminute:
|
|
433
|
+
return "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"
|
|
434
|
+
case .hkquantitytypeidentifierheartratevariabilitysdnn:
|
|
435
|
+
return "HKQuantityTypeIdentifierHeartRateVariabilitySDNN"
|
|
436
|
+
case .hkquantitytypeidentifierheight:
|
|
437
|
+
return "HKQuantityTypeIdentifierHeight"
|
|
438
|
+
case .hkquantitytypeidentifierinhalerusage:
|
|
439
|
+
return "HKQuantityTypeIdentifierInhalerUsage"
|
|
440
|
+
case .hkquantitytypeidentifierinsulindelivery:
|
|
441
|
+
return "HKQuantityTypeIdentifierInsulinDelivery"
|
|
442
|
+
case .hkquantitytypeidentifierleanbodymass:
|
|
443
|
+
return "HKQuantityTypeIdentifierLeanBodyMass"
|
|
444
|
+
case .hkquantitytypeidentifiernikefuel:
|
|
445
|
+
return "HKQuantityTypeIdentifierNikeFuel"
|
|
446
|
+
case .hkquantitytypeidentifiernumberofalcoholicbeverages:
|
|
447
|
+
return "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"
|
|
448
|
+
case .hkquantitytypeidentifiernumberoftimesfallen:
|
|
449
|
+
return "HKQuantityTypeIdentifierNumberOfTimesFallen"
|
|
450
|
+
case .hkquantitytypeidentifieroxygensaturation:
|
|
451
|
+
return "HKQuantityTypeIdentifierOxygenSaturation"
|
|
508
452
|
case .hkquantitytypeidentifierpaddlesportsspeed:
|
|
509
453
|
return "HKQuantityTypeIdentifierPaddleSportsSpeed"
|
|
454
|
+
case .hkquantitytypeidentifierpeakexpiratoryflowrate:
|
|
455
|
+
return "HKQuantityTypeIdentifierPeakExpiratoryFlowRate"
|
|
456
|
+
case .hkquantitytypeidentifierperipheralperfusionindex:
|
|
457
|
+
return "HKQuantityTypeIdentifierPeripheralPerfusionIndex"
|
|
458
|
+
case .hkquantitytypeidentifierphysicaleffort:
|
|
459
|
+
return "HKQuantityTypeIdentifierPhysicalEffort"
|
|
460
|
+
case .hkquantitytypeidentifierpushcount:
|
|
461
|
+
return "HKQuantityTypeIdentifierPushCount"
|
|
462
|
+
case .hkquantitytypeidentifierrespiratoryrate:
|
|
463
|
+
return "HKQuantityTypeIdentifierRespiratoryRate"
|
|
464
|
+
case .hkquantitytypeidentifierrestingheartrate:
|
|
465
|
+
return "HKQuantityTypeIdentifierRestingHeartRate"
|
|
510
466
|
case .hkquantitytypeidentifierrowingspeed:
|
|
511
467
|
return "HKQuantityTypeIdentifierRowingSpeed"
|
|
468
|
+
case .hkquantitytypeidentifierrunninggroundcontacttime:
|
|
469
|
+
return "HKQuantityTypeIdentifierRunningGroundContactTime"
|
|
470
|
+
case .hkquantitytypeidentifierrunningpower:
|
|
471
|
+
return "HKQuantityTypeIdentifierRunningPower"
|
|
472
|
+
case .hkquantitytypeidentifierrunningspeed:
|
|
473
|
+
return "HKQuantityTypeIdentifierRunningSpeed"
|
|
474
|
+
case .hkquantitytypeidentifierrunningstridelength:
|
|
475
|
+
return "HKQuantityTypeIdentifierRunningStrideLength"
|
|
476
|
+
case .hkquantitytypeidentifierrunningverticaloscillation:
|
|
477
|
+
return "HKQuantityTypeIdentifierRunningVerticalOscillation"
|
|
478
|
+
case .hkquantitytypeidentifiersixminutewalktestdistance:
|
|
479
|
+
return "HKQuantityTypeIdentifierSixMinuteWalkTestDistance"
|
|
480
|
+
case .hkquantitytypeidentifierstairascentspeed:
|
|
481
|
+
return "HKQuantityTypeIdentifierStairAscentSpeed"
|
|
482
|
+
case .hkquantitytypeidentifierstairdescentspeed:
|
|
483
|
+
return "HKQuantityTypeIdentifierStairDescentSpeed"
|
|
484
|
+
case .hkquantitytypeidentifierstepcount:
|
|
485
|
+
return "HKQuantityTypeIdentifierStepCount"
|
|
486
|
+
case .hkquantitytypeidentifierswimmingstrokecount:
|
|
487
|
+
return "HKQuantityTypeIdentifierSwimmingStrokeCount"
|
|
488
|
+
case .hkquantitytypeidentifiertimeindaylight:
|
|
489
|
+
return "HKQuantityTypeIdentifierTimeInDaylight"
|
|
490
|
+
case .hkquantitytypeidentifierunderwaterdepth:
|
|
491
|
+
return "HKQuantityTypeIdentifierUnderwaterDepth"
|
|
492
|
+
case .hkquantitytypeidentifieruvexposure:
|
|
493
|
+
return "HKQuantityTypeIdentifierUVExposure"
|
|
494
|
+
case .hkquantitytypeidentifiervo2max:
|
|
495
|
+
return "HKQuantityTypeIdentifierVO2Max"
|
|
496
|
+
case .hkquantitytypeidentifierwaistcircumference:
|
|
497
|
+
return "HKQuantityTypeIdentifierWaistCircumference"
|
|
498
|
+
case .hkquantitytypeidentifierwalkingasymmetrypercentage:
|
|
499
|
+
return "HKQuantityTypeIdentifierWalkingAsymmetryPercentage"
|
|
500
|
+
case .hkquantitytypeidentifierwalkingdoublesupportpercentage:
|
|
501
|
+
return "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"
|
|
502
|
+
case .hkquantitytypeidentifierwalkingspeed:
|
|
503
|
+
return "HKQuantityTypeIdentifierWalkingSpeed"
|
|
504
|
+
case .hkquantitytypeidentifierwalkingsteplength:
|
|
505
|
+
return "HKQuantityTypeIdentifierWalkingStepLength"
|
|
506
|
+
case .hkquantitytypeidentifierwatertemperature:
|
|
507
|
+
return "HKQuantityTypeIdentifierWaterTemperature"
|
|
512
508
|
case .hkquantitytypeidentifierworkouteffortscore:
|
|
513
509
|
return "HKQuantityTypeIdentifierWorkoutEffortScore"
|
|
514
510
|
}
|