@kingstinct/react-native-healthkit 10.0.0 → 11.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/ios/CoreModule.swift +5 -15
- package/ios/CorrelationTypeModule.swift +8 -2
- package/ios/Helpers.swift +50 -6
- package/ios/QuantityTypeModule.swift +72 -112
- package/ios/Serializers.swift +39 -66
- package/ios/WorkoutProxy.swift +38 -20
- package/ios/WorkoutsModule.swift +7 -18
- package/lib/commonjs/healthkit.js +1 -1
- package/lib/commonjs/hooks/useMostRecentWorkout.js +2 -9
- package/lib/commonjs/hooks/useWorkoutById.js +1 -4
- package/lib/commonjs/utils/getMostRecentWorkout.js +1 -3
- package/lib/commonjs/utils/getWorkoutById.js +1 -3
- package/lib/module/healthkit.js +1 -1
- package/lib/module/hooks/useMostRecentWorkout.js +3 -10
- package/lib/module/hooks/useWorkoutById.js +1 -4
- package/lib/module/utils/getMostRecentWorkout.js +1 -3
- package/lib/module/utils/getWorkoutById.js +1 -3
- package/lib/typescript/healthkit.d.ts +5 -5
- package/lib/typescript/healthkit.ios.d.ts +1 -1
- package/lib/typescript/hooks/useMostRecentWorkout.d.ts +1 -4
- package/lib/typescript/specs/WorkoutProxy.nitro.d.ts +11 -0
- package/lib/typescript/types/CorrelationType.d.ts +1 -0
- package/lib/typescript/types/QuantityType.d.ts +2 -0
- package/lib/typescript/types/QueryOptions.d.ts +4 -0
- package/lib/typescript/types/Workouts.d.ts +0 -8
- package/lib/typescript/utils/getMostRecentWorkout.d.ts +1 -2
- package/lib/typescript/utils/getWorkoutById.d.ts +1 -2
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.cpp +103 -87
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.hpp +798 -481
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Umbrella.hpp +3 -0
- package/nitrogen/generated/ios/ReactNativeHealthkitAutolinking.mm +8 -8
- package/nitrogen/generated/ios/ReactNativeHealthkitAutolinking.swift +16 -16
- package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.hpp +9 -4
- package/nitrogen/generated/ios/c++/HybridCharacteristicTypeModuleSpecSwift.hpp +4 -2
- package/nitrogen/generated/ios/c++/HybridCoreModuleSpecSwift.hpp +10 -5
- package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.hpp +6 -4
- package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.hpp +10 -5
- package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.hpp +7 -2
- package/nitrogen/generated/ios/c++/HybridSourceProxySpecSwift.hpp +3 -1
- package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.hpp +10 -5
- package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.hpp +50 -22
- package/nitrogen/generated/ios/c++/HybridWorkoutsModuleSpecSwift.hpp +12 -7
- package/nitrogen/generated/ios/swift/CategorySample.swift +4 -2
- package/nitrogen/generated/ios/swift/CategorySampleForSaving.swift +2 -1
- package/nitrogen/generated/ios/swift/CorrelationObject.swift +2 -0
- package/nitrogen/generated/ios/swift/CorrelationSample.swift +13 -2
- package/nitrogen/generated/ios/swift/DeletedSample.swift +2 -1
- package/nitrogen/generated/ios/swift/Device.swift +16 -8
- package/nitrogen/generated/ios/swift/FilterForSamples.swift +2 -0
- package/nitrogen/generated/ios/swift/Func_void_AuthorizationRequestStatus.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_BiologicalSex.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_BloodType.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_CategorySamplesWithAnchorResponse.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_FitzpatrickSkinType.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_HeartbeatSeriesSamplesWithAnchorResponse.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_OnChangeCallbackArgs.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_QuantitySamplesWithAnchorResponse.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_QueryStatisticsResponse.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_QueryWorkoutSamplesWithAnchorResponse.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_WheelchairUse.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_bool.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_double.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__optional_QueryStatisticsResponse_.swift +54 -0
- package/nitrogen/generated/ios/swift/Func_void_std__optional_WorkoutPlan_.swift +3 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_std__chrono__system_clock__time_point_.swift +3 -1
- package/nitrogen/generated/ios/swift/{Func_void_std__shared_ptr_margelo__nitro__healthkit__HybridWorkoutProxySpec_.swift → Func_void_std__shared_ptr_HybridWorkoutProxySpec_.swift} +9 -8
- package/nitrogen/generated/ios/swift/Func_void_std__unordered_map_std__string__QueryStatisticsResponse_.swift +55 -0
- package/nitrogen/generated/ios/swift/Func_void_std__unordered_map_std__string__bool_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_CategorySample_.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__vector_CorrelationSample_.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__vector_HeartbeatSeriesSample_.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__vector_IdentifierWithUnit_.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__vector_QuantitySample_.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__vector_QueryStatisticsResponse_.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__vector_StateOfMindSample_.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__vector_WorkoutRoute_.swift +1 -0
- package/nitrogen/generated/ios/swift/{Func_void_std__vector_std__shared_ptr_margelo__nitro__healthkit__HybridSourceProxySpec__.swift → Func_void_std__vector_std__shared_ptr_HybridSourceProxySpec__.swift} +9 -8
- package/nitrogen/generated/ios/swift/{Func_void_std__vector_std__shared_ptr_margelo__nitro__healthkit__HybridWorkoutProxySpec__.swift → Func_void_std__vector_std__shared_ptr_HybridWorkoutProxySpec__.swift} +9 -8
- package/nitrogen/generated/ios/swift/HeartbeatSeriesSample.swift +6 -3
- package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec.swift +2 -1
- package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec_cxx.swift +17 -7
- package/nitrogen/generated/ios/swift/HybridCharacteristicTypeModuleSpec.swift +2 -1
- package/nitrogen/generated/ios/swift/HybridCharacteristicTypeModuleSpec_cxx.swift +15 -6
- package/nitrogen/generated/ios/swift/HybridCoreModuleSpec.swift +2 -1
- package/nitrogen/generated/ios/swift/HybridCoreModuleSpec_cxx.swift +24 -15
- package/nitrogen/generated/ios/swift/HybridCorrelationTypeModuleSpec.swift +2 -1
- package/nitrogen/generated/ios/swift/HybridCorrelationTypeModuleSpec_cxx.swift +15 -6
- package/nitrogen/generated/ios/swift/HybridHeartbeatSeriesModuleSpec.swift +2 -1
- package/nitrogen/generated/ios/swift/HybridHeartbeatSeriesModuleSpec_cxx.swift +17 -7
- package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec.swift +2 -1
- package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec_cxx.swift +21 -9
- package/nitrogen/generated/ios/swift/HybridSourceProxySpec.swift +2 -1
- package/nitrogen/generated/ios/swift/HybridSourceProxySpec_cxx.swift +17 -7
- package/nitrogen/generated/ios/swift/HybridStateOfMindModuleSpec.swift +2 -1
- package/nitrogen/generated/ios/swift/HybridStateOfMindModuleSpec_cxx.swift +19 -8
- package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec.swift +8 -5
- package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec_cxx.swift +108 -41
- package/nitrogen/generated/ios/swift/HybridWorkoutsModuleSpec.swift +2 -1
- package/nitrogen/generated/ios/swift/HybridWorkoutsModuleSpec_cxx.swift +31 -22
- package/nitrogen/generated/ios/swift/OnChangeCallbackArgs.swift +2 -1
- package/nitrogen/generated/ios/swift/PredicateForSamples.swift +2 -0
- package/nitrogen/generated/ios/swift/PredicateForWorkouts.swift +2 -0
- package/nitrogen/generated/ios/swift/PredicateFromWorkout.swift +3 -3
- package/nitrogen/generated/ios/swift/PredicateWithMetadataKey.swift +95 -2
- package/nitrogen/generated/ios/swift/PredicateWithMetadataOperator.swift +48 -0
- package/nitrogen/generated/ios/swift/PredicateWithStartAndEnd.swift +4 -2
- package/nitrogen/generated/ios/swift/QuantitySample.swift +4 -2
- package/nitrogen/generated/ios/swift/QuantitySampleForSaving.swift +2 -1
- package/nitrogen/generated/ios/swift/QueryOptionsWithAnchor.swift +4 -2
- package/nitrogen/generated/ios/swift/QueryOptionsWithAnchorAndUnit.swift +6 -3
- package/nitrogen/generated/ios/swift/QueryOptionsWithSortOrder.swift +2 -1
- package/nitrogen/generated/ios/swift/QueryOptionsWithSortOrderAndUnit.swift +4 -2
- package/nitrogen/generated/ios/swift/QueryStatisticsResponse.swift +75 -8
- package/nitrogen/generated/ios/swift/QueryWorkoutSamplesWithAnchorResponse.swift +7 -7
- package/nitrogen/generated/ios/swift/SampleForSaving.swift +2 -0
- package/nitrogen/generated/ios/swift/SourceRevision.swift +13 -9
- package/nitrogen/generated/ios/swift/StateOfMindSample.swift +6 -3
- package/nitrogen/generated/ios/swift/StatisticsQueryOptions.swift +4 -2
- package/nitrogen/generated/ios/swift/Variant_PredicateWithUUID_PredicateWithUUIDs_PredicateWithMetadataKey_PredicateWithStartAndEnd_PredicateFromWorkout_FilterForSamplesAnd_FilterForSamplesOr.swift +2 -0
- package/nitrogen/generated/ios/swift/Variant_PredicateWithUUID_PredicateWithUUIDs_PredicateWithMetadataKey_PredicateWithStartAndEnd_PredicateFromWorkout_WorkoutActivityTypePredicate_WorkoutDurationPredicate_PredicateForWorkoutsOr_PredicateForWorkoutsAnd.swift +2 -0
- package/nitrogen/generated/ios/swift/Variant_String_Double_Bool_Date.swift +20 -0
- package/nitrogen/generated/ios/swift/WorkoutQueryOptions.swift +4 -61
- package/nitrogen/generated/ios/swift/WorkoutQueryOptionsWithAnchor.swift +6 -62
- package/nitrogen/generated/ios/swift/WorkoutRoute.swift +2 -1
- package/nitrogen/generated/ios/swift/WorkoutSample.swift +12 -123
- package/nitrogen/generated/shared/c++/AuthorizationRequestStatus.hpp +9 -11
- package/nitrogen/generated/shared/c++/AuthorizationStatus.hpp +9 -11
- package/nitrogen/generated/shared/c++/BiologicalSex.hpp +9 -11
- package/nitrogen/generated/shared/c++/BloodType.hpp +9 -11
- package/nitrogen/generated/shared/c++/CategorySample.hpp +14 -16
- package/nitrogen/generated/shared/c++/CategorySampleForSaving.hpp +11 -13
- package/nitrogen/generated/shared/c++/CategorySamplesWithAnchorResponse.hpp +11 -13
- package/nitrogen/generated/shared/c++/CategoryTypeIdentifier.hpp +131 -133
- package/nitrogen/generated/shared/c++/ComparisonPredicateOperator.hpp +26 -13
- package/nitrogen/generated/shared/c++/CorrelationSample.hpp +18 -15
- package/nitrogen/generated/shared/c++/CorrelationTypeIdentifier.hpp +7 -9
- package/nitrogen/generated/shared/c++/DeletedSample.hpp +5 -7
- package/nitrogen/generated/shared/c++/Device.hpp +5 -7
- package/nitrogen/generated/shared/c++/FilterForSamplesAnd.hpp +9 -11
- package/nitrogen/generated/shared/c++/FilterForSamplesOr.hpp +9 -11
- package/nitrogen/generated/shared/c++/FitzpatrickSkinType.hpp +9 -11
- package/nitrogen/generated/shared/c++/Heartbeat.hpp +4 -6
- package/nitrogen/generated/shared/c++/HeartbeatSeriesSample.hpp +15 -17
- package/nitrogen/generated/shared/c++/HeartbeatSeriesSamplesWithAnchorResponse.hpp +11 -13
- package/nitrogen/generated/shared/c++/HybridCategoryTypeModuleSpec.hpp +2 -2
- package/nitrogen/generated/shared/c++/HybridCharacteristicTypeModuleSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.hpp +4 -4
- package/nitrogen/generated/shared/c++/HybridCorrelationTypeModuleSpec.hpp +2 -2
- package/nitrogen/generated/shared/c++/HybridHeartbeatSeriesModuleSpec.hpp +3 -3
- package/nitrogen/generated/shared/c++/HybridQuantityTypeModuleSpec.hpp +3 -3
- package/nitrogen/generated/shared/c++/HybridStateOfMindModuleSpec.hpp +3 -3
- package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.cpp +6 -4
- package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.hpp +18 -9
- package/nitrogen/generated/shared/c++/HybridWorkoutsModuleSpec.hpp +4 -4
- package/nitrogen/generated/shared/c++/IdentifierWithUnit.hpp +4 -6
- package/nitrogen/generated/shared/c++/IntervalComponents.hpp +4 -6
- package/nitrogen/generated/shared/c++/LocationForSaving.hpp +4 -6
- package/nitrogen/generated/shared/c++/ObjectTypeIdentifier.hpp +397 -399
- package/nitrogen/generated/shared/c++/OnChangeCallbackArgs.hpp +8 -10
- package/nitrogen/generated/shared/c++/PredicateForWorkoutsAnd.hpp +9 -11
- package/nitrogen/generated/shared/c++/PredicateForWorkoutsOr.hpp +9 -11
- package/nitrogen/generated/shared/c++/PredicateFromWorkout.hpp +6 -8
- package/nitrogen/generated/shared/c++/PredicateWithMetadataKey.hpp +20 -9
- package/nitrogen/generated/shared/c++/PredicateWithMetadataOperator.hpp +84 -0
- package/nitrogen/generated/shared/c++/PredicateWithStartAndEnd.hpp +5 -7
- package/nitrogen/generated/shared/c++/PredicateWithUUID.hpp +4 -6
- package/nitrogen/generated/shared/c++/PredicateWithUUIDs.hpp +5 -7
- package/nitrogen/generated/shared/c++/Quantity.hpp +4 -6
- package/nitrogen/generated/shared/c++/QuantityDateInterval.hpp +4 -6
- package/nitrogen/generated/shared/c++/QuantitySample.hpp +14 -16
- package/nitrogen/generated/shared/c++/QuantitySampleForSaving.hpp +11 -13
- package/nitrogen/generated/shared/c++/QuantitySamplesWithAnchorResponse.hpp +11 -13
- package/nitrogen/generated/shared/c++/QuantityTypeIdentifier.hpp +241 -243
- package/nitrogen/generated/shared/c++/QueryOptionsWithAnchor.hpp +9 -11
- package/nitrogen/generated/shared/c++/QueryOptionsWithAnchorAndUnit.hpp +9 -11
- package/nitrogen/generated/shared/c++/QueryOptionsWithSortOrder.hpp +8 -10
- package/nitrogen/generated/shared/c++/QueryOptionsWithSortOrderAndUnit.hpp +9 -11
- package/nitrogen/generated/shared/c++/QueryStatisticsResponse.hpp +36 -29
- package/nitrogen/generated/shared/c++/QueryWorkoutSamplesWithAnchorResponse.hpp +10 -12
- package/nitrogen/generated/shared/c++/SampleTypeIdentifier.hpp +383 -385
- package/nitrogen/generated/shared/c++/SampleTypeIdentifierWriteable.hpp +373 -375
- package/nitrogen/generated/shared/c++/Source.hpp +4 -6
- package/nitrogen/generated/shared/c++/SourceRevision.hpp +7 -9
- package/nitrogen/generated/shared/c++/StateOfMindAssociation.hpp +10 -12
- package/nitrogen/generated/shared/c++/StateOfMindKind.hpp +14 -13
- package/nitrogen/generated/shared/c++/StateOfMindLabel.hpp +10 -12
- package/nitrogen/generated/shared/c++/StateOfMindSample.hpp +24 -26
- package/nitrogen/generated/shared/c++/StateOfMindValenceClassification.hpp +10 -12
- package/nitrogen/generated/shared/c++/StatisticsOptions.hpp +17 -19
- package/nitrogen/generated/shared/c++/StatisticsQueryOptions.hpp +9 -11
- package/nitrogen/generated/shared/c++/UpdateFrequency.hpp +10 -12
- package/nitrogen/generated/shared/c++/WheelchairUse.hpp +9 -11
- package/nitrogen/generated/shared/c++/WorkoutActivity.hpp +4 -6
- package/nitrogen/generated/shared/c++/WorkoutActivityType.hpp +96 -13
- package/nitrogen/generated/shared/c++/WorkoutActivityTypePredicate.hpp +7 -9
- package/nitrogen/generated/shared/c++/WorkoutConfiguration.hpp +11 -13
- package/nitrogen/generated/shared/c++/WorkoutDurationPredicate.hpp +7 -9
- package/nitrogen/generated/shared/c++/WorkoutEvent.hpp +7 -9
- package/nitrogen/generated/shared/c++/WorkoutEventType.hpp +10 -12
- package/nitrogen/generated/shared/c++/WorkoutPlan.hpp +7 -9
- package/nitrogen/generated/shared/c++/WorkoutQueryOptions.hpp +10 -21
- package/nitrogen/generated/shared/c++/WorkoutQueryOptionsWithAnchor.hpp +11 -21
- package/nitrogen/generated/shared/c++/WorkoutRoute.hpp +9 -11
- package/nitrogen/generated/shared/c++/WorkoutRouteLocation.hpp +4 -6
- package/nitrogen/generated/shared/c++/WorkoutSample.hpp +25 -43
- package/nitrogen/generated/shared/c++/WorkoutSessionLocationType.hpp +10 -12
- package/nitrogen/generated/shared/c++/WorkoutTotals.hpp +4 -6
- package/package.json +11 -11
- package/src/healthkit.ts +5 -1
- package/src/hooks/queryStatisticsForQuantity.test.ts +32 -0
- package/src/hooks/useMostRecentWorkout.ts +3 -17
- package/src/hooks/useWorkoutById.ts +1 -4
- package/src/specs/WorkoutProxy.nitro.ts +18 -1
- package/src/types/CorrelationType.ts +1 -0
- package/src/types/QuantityType.ts +2 -0
- package/src/types/QueryOptions.ts +10 -0
- package/src/types/Workouts.ts +0 -8
- package/src/utils/getMostRecentWorkout.ts +1 -6
- package/src/utils/getWorkoutById.ts +1 -6
|
@@ -154,258 +154,256 @@ namespace margelo::nitro::healthkit {
|
|
|
154
154
|
|
|
155
155
|
namespace margelo::nitro {
|
|
156
156
|
|
|
157
|
-
using namespace margelo::nitro::healthkit;
|
|
158
|
-
|
|
159
157
|
// C++ QuantityTypeIdentifier <> JS QuantityTypeIdentifier (union)
|
|
160
158
|
template <>
|
|
161
|
-
struct JSIConverter<QuantityTypeIdentifier> final {
|
|
162
|
-
static inline QuantityTypeIdentifier fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
159
|
+
struct JSIConverter<margelo::nitro::healthkit::QuantityTypeIdentifier> final {
|
|
160
|
+
static inline margelo::nitro::healthkit::QuantityTypeIdentifier fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
163
161
|
std::string unionValue = JSIConverter<std::string>::fromJSI(runtime, arg);
|
|
164
162
|
switch (hashString(unionValue.c_str(), unionValue.size())) {
|
|
165
|
-
case hashString("HKQuantityTypeIdentifierWalkingHeartRateAverage"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGHEARTRATEAVERAGE;
|
|
166
|
-
case hashString("HKQuantityTypeIdentifierBodyMassIndex"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX;
|
|
167
|
-
case hashString("HKQuantityTypeIdentifierBodyFatPercentage"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE;
|
|
168
|
-
case hashString("HKQuantityTypeIdentifierHeight"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEIGHT;
|
|
169
|
-
case hashString("HKQuantityTypeIdentifierBodyMass"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASS;
|
|
170
|
-
case hashString("HKQuantityTypeIdentifierLeanBodyMass"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERLEANBODYMASS;
|
|
171
|
-
case hashString("HKQuantityTypeIdentifierWaistCircumference"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE;
|
|
172
|
-
case hashString("HKQuantityTypeIdentifierStepCount"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTEPCOUNT;
|
|
173
|
-
case hashString("HKQuantityTypeIdentifierDistanceWalkingRunning"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING;
|
|
174
|
-
case hashString("HKQuantityTypeIdentifierDistanceCycling"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING;
|
|
175
|
-
case hashString("HKQuantityTypeIdentifierDistanceWheelchair"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR;
|
|
176
|
-
case hashString("HKQuantityTypeIdentifierBasalEnergyBurned"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED;
|
|
177
|
-
case hashString("HKQuantityTypeIdentifierActiveEnergyBurned"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED;
|
|
178
|
-
case hashString("HKQuantityTypeIdentifierFlightsClimbed"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED;
|
|
179
|
-
case hashString("HKQuantityTypeIdentifierNikeFuel"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNIKEFUEL;
|
|
180
|
-
case hashString("HKQuantityTypeIdentifierAppleExerciseTime"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEEXERCISETIME;
|
|
181
|
-
case hashString("HKQuantityTypeIdentifierPushCount"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPUSHCOUNT;
|
|
182
|
-
case hashString("HKQuantityTypeIdentifierDistanceSwimming"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING;
|
|
183
|
-
case hashString("HKQuantityTypeIdentifierSwimmingStrokeCount"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT;
|
|
184
|
-
case hashString("HKQuantityTypeIdentifierVO2Max"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERVO2MAX;
|
|
185
|
-
case hashString("HKQuantityTypeIdentifierDistanceDownhillSnowSports"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS;
|
|
186
|
-
case hashString("HKQuantityTypeIdentifierAppleStandTime"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESTANDTIME;
|
|
187
|
-
case hashString("HKQuantityTypeIdentifierHeartRate"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATE;
|
|
188
|
-
case hashString("HKQuantityTypeIdentifierBodyTemperature"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE;
|
|
189
|
-
case hashString("HKQuantityTypeIdentifierBasalBodyTemperature"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE;
|
|
190
|
-
case hashString("HKQuantityTypeIdentifierBloodPressureSystolic"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC;
|
|
191
|
-
case hashString("HKQuantityTypeIdentifierBloodPressureDiastolic"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC;
|
|
192
|
-
case hashString("HKQuantityTypeIdentifierRespiratoryRate"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE;
|
|
193
|
-
case hashString("HKQuantityTypeIdentifierRestingHeartRate"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE;
|
|
194
|
-
case hashString("HKQuantityTypeIdentifierHeartRateVariabilitySDNN"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN;
|
|
195
|
-
case hashString("HKQuantityTypeIdentifierOxygenSaturation"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION;
|
|
196
|
-
case hashString("HKQuantityTypeIdentifierPeripheralPerfusionIndex"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX;
|
|
197
|
-
case hashString("HKQuantityTypeIdentifierBloodGlucose"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE;
|
|
198
|
-
case hashString("HKQuantityTypeIdentifierNumberOfTimesFallen"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN;
|
|
199
|
-
case hashString("HKQuantityTypeIdentifierElectrodermalActivity"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY;
|
|
200
|
-
case hashString("HKQuantityTypeIdentifierInhalerUsage"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE;
|
|
201
|
-
case hashString("HKQuantityTypeIdentifierInsulinDelivery"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY;
|
|
202
|
-
case hashString("HKQuantityTypeIdentifierBloodAlcoholContent"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT;
|
|
203
|
-
case hashString("HKQuantityTypeIdentifierForcedVitalCapacity"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY;
|
|
204
|
-
case hashString("HKQuantityTypeIdentifierForcedExpiratoryVolume1"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1;
|
|
205
|
-
case hashString("HKQuantityTypeIdentifierPeakExpiratoryFlowRate"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE;
|
|
206
|
-
case hashString("HKQuantityTypeIdentifierEnvironmentalAudioExposure"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE;
|
|
207
|
-
case hashString("HKQuantityTypeIdentifierHeadphoneAudioExposure"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE;
|
|
208
|
-
case hashString("HKQuantityTypeIdentifierDietaryFatTotal"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL;
|
|
209
|
-
case hashString("HKQuantityTypeIdentifierDietaryFatPolyunsaturated"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED;
|
|
210
|
-
case hashString("HKQuantityTypeIdentifierDietaryFatMonounsaturated"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED;
|
|
211
|
-
case hashString("HKQuantityTypeIdentifierDietaryFatSaturated"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED;
|
|
212
|
-
case hashString("HKQuantityTypeIdentifierDietaryCholesterol"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL;
|
|
213
|
-
case hashString("HKQuantityTypeIdentifierDietarySodium"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM;
|
|
214
|
-
case hashString("HKQuantityTypeIdentifierDietaryCarbohydrates"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES;
|
|
215
|
-
case hashString("HKQuantityTypeIdentifierDietaryFiber"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFIBER;
|
|
216
|
-
case hashString("HKQuantityTypeIdentifierDietarySugar"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR;
|
|
217
|
-
case hashString("HKQuantityTypeIdentifierDietaryEnergyConsumed"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED;
|
|
218
|
-
case hashString("HKQuantityTypeIdentifierDietaryProtein"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN;
|
|
219
|
-
case hashString("HKQuantityTypeIdentifierDietaryVitaminA"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA;
|
|
220
|
-
case hashString("HKQuantityTypeIdentifierDietaryVitaminB6"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6;
|
|
221
|
-
case hashString("HKQuantityTypeIdentifierDietaryVitaminB12"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12;
|
|
222
|
-
case hashString("HKQuantityTypeIdentifierDietaryVitaminC"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC;
|
|
223
|
-
case hashString("HKQuantityTypeIdentifierDietaryVitaminD"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND;
|
|
224
|
-
case hashString("HKQuantityTypeIdentifierDietaryVitaminE"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE;
|
|
225
|
-
case hashString("HKQuantityTypeIdentifierDietaryVitaminK"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK;
|
|
226
|
-
case hashString("HKQuantityTypeIdentifierDietaryCalcium"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM;
|
|
227
|
-
case hashString("HKQuantityTypeIdentifierDietaryIron"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIRON;
|
|
228
|
-
case hashString("HKQuantityTypeIdentifierDietaryThiamin"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN;
|
|
229
|
-
case hashString("HKQuantityTypeIdentifierDietaryRiboflavin"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN;
|
|
230
|
-
case hashString("HKQuantityTypeIdentifierDietaryNiacin"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN;
|
|
231
|
-
case hashString("HKQuantityTypeIdentifierDietaryFolate"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE;
|
|
232
|
-
case hashString("HKQuantityTypeIdentifierDietaryBiotin"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN;
|
|
233
|
-
case hashString("HKQuantityTypeIdentifierDietaryPantothenicAcid"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID;
|
|
234
|
-
case hashString("HKQuantityTypeIdentifierDietaryPhosphorus"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS;
|
|
235
|
-
case hashString("HKQuantityTypeIdentifierDietaryIodine"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIODINE;
|
|
236
|
-
case hashString("HKQuantityTypeIdentifierDietaryMagnesium"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM;
|
|
237
|
-
case hashString("HKQuantityTypeIdentifierDietaryZinc"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYZINC;
|
|
238
|
-
case hashString("HKQuantityTypeIdentifierDietarySelenium"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM;
|
|
239
|
-
case hashString("HKQuantityTypeIdentifierDietaryCopper"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER;
|
|
240
|
-
case hashString("HKQuantityTypeIdentifierDietaryManganese"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE;
|
|
241
|
-
case hashString("HKQuantityTypeIdentifierDietaryChromium"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM;
|
|
242
|
-
case hashString("HKQuantityTypeIdentifierDietaryMolybdenum"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM;
|
|
243
|
-
case hashString("HKQuantityTypeIdentifierDietaryChloride"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE;
|
|
244
|
-
case hashString("HKQuantityTypeIdentifierDietaryPotassium"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM;
|
|
245
|
-
case hashString("HKQuantityTypeIdentifierDietaryCaffeine"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE;
|
|
246
|
-
case hashString("HKQuantityTypeIdentifierDietaryWater"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYWATER;
|
|
247
|
-
case hashString("HKQuantityTypeIdentifierSixMinuteWalkTestDistance"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE;
|
|
248
|
-
case hashString("HKQuantityTypeIdentifierWalkingSpeed"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSPEED;
|
|
249
|
-
case hashString("HKQuantityTypeIdentifierWalkingStepLength"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH;
|
|
250
|
-
case hashString("HKQuantityTypeIdentifierWalkingAsymmetryPercentage"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE;
|
|
251
|
-
case hashString("HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE;
|
|
252
|
-
case hashString("HKQuantityTypeIdentifierStairAscentSpeed"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED;
|
|
253
|
-
case hashString("HKQuantityTypeIdentifierStairDescentSpeed"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED;
|
|
254
|
-
case hashString("HKQuantityTypeIdentifierUVExposure"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUVEXPOSURE;
|
|
255
|
-
case hashString("HKQuantityTypeIdentifierAppleMoveTime"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME;
|
|
256
|
-
case hashString("HKQuantityTypeIdentifierAppleWalkingSteadiness"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEWALKINGSTEADINESS;
|
|
257
|
-
case hashString("HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES;
|
|
258
|
-
case hashString("HKQuantityTypeIdentifierAtrialFibrillationBurden"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERATRIALFIBRILLATIONBURDEN;
|
|
259
|
-
case hashString("HKQuantityTypeIdentifierUnderwaterDepth"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH;
|
|
260
|
-
case hashString("HKQuantityTypeIdentifierWaterTemperature"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE;
|
|
261
|
-
case hashString("HKQuantityTypeIdentifierAppleSleepingWristTemperature"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE;
|
|
262
|
-
case hashString("HKQuantityTypeIdentifierTimeInDaylight"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT;
|
|
263
|
-
case hashString("HKQuantityTypeIdentifierPhysicalEffort"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT;
|
|
264
|
-
case hashString("HKQuantityTypeIdentifierCyclingSpeed"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED;
|
|
265
|
-
case hashString("HKQuantityTypeIdentifierCyclingPower"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER;
|
|
266
|
-
case hashString("HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER;
|
|
267
|
-
case hashString("HKQuantityTypeIdentifierCyclingCadence"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE;
|
|
268
|
-
case hashString("HKQuantityTypeIdentifierEnvironmentalSoundReduction"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION;
|
|
269
|
-
case hashString("HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE;
|
|
270
|
-
case hashString("HKQuantityTypeIdentifierRunningGroundContactTime"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME;
|
|
271
|
-
case hashString("HKQuantityTypeIdentifierRunningStrideLength"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH;
|
|
272
|
-
case hashString("HKQuantityTypeIdentifierRunningPower"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER;
|
|
273
|
-
case hashString("HKQuantityTypeIdentifierRunningVerticalOscillation"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION;
|
|
274
|
-
case hashString("HKQuantityTypeIdentifierRunningSpeed"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED;
|
|
275
|
-
case hashString("HKQuantityTypeIdentifierCrossCountrySkiingSpeed"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED;
|
|
276
|
-
case hashString("HKQuantityTypeIdentifierDistanceCrossCountrySkiing"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING;
|
|
277
|
-
case hashString("HKQuantityTypeIdentifierDistancePaddleSports"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS;
|
|
278
|
-
case hashString("HKQuantityTypeIdentifierDistanceRowing"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEROWING;
|
|
279
|
-
case hashString("HKQuantityTypeIdentifierDistanceSkatingSports"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS;
|
|
280
|
-
case hashString("HKQuantityTypeIdentifierEstimatedWorkoutEffortScore"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE;
|
|
281
|
-
case hashString("HKQuantityTypeIdentifierPaddleSportsSpeed"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED;
|
|
282
|
-
case hashString("HKQuantityTypeIdentifierRowingSpeed"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERROWINGSPEED;
|
|
283
|
-
case hashString("HKQuantityTypeIdentifierWorkoutEffortScore"): return QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE;
|
|
163
|
+
case hashString("HKQuantityTypeIdentifierWalkingHeartRateAverage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGHEARTRATEAVERAGE;
|
|
164
|
+
case hashString("HKQuantityTypeIdentifierBodyMassIndex"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX;
|
|
165
|
+
case hashString("HKQuantityTypeIdentifierBodyFatPercentage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE;
|
|
166
|
+
case hashString("HKQuantityTypeIdentifierHeight"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEIGHT;
|
|
167
|
+
case hashString("HKQuantityTypeIdentifierBodyMass"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASS;
|
|
168
|
+
case hashString("HKQuantityTypeIdentifierLeanBodyMass"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERLEANBODYMASS;
|
|
169
|
+
case hashString("HKQuantityTypeIdentifierWaistCircumference"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE;
|
|
170
|
+
case hashString("HKQuantityTypeIdentifierStepCount"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTEPCOUNT;
|
|
171
|
+
case hashString("HKQuantityTypeIdentifierDistanceWalkingRunning"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING;
|
|
172
|
+
case hashString("HKQuantityTypeIdentifierDistanceCycling"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING;
|
|
173
|
+
case hashString("HKQuantityTypeIdentifierDistanceWheelchair"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR;
|
|
174
|
+
case hashString("HKQuantityTypeIdentifierBasalEnergyBurned"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED;
|
|
175
|
+
case hashString("HKQuantityTypeIdentifierActiveEnergyBurned"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED;
|
|
176
|
+
case hashString("HKQuantityTypeIdentifierFlightsClimbed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED;
|
|
177
|
+
case hashString("HKQuantityTypeIdentifierNikeFuel"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNIKEFUEL;
|
|
178
|
+
case hashString("HKQuantityTypeIdentifierAppleExerciseTime"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEEXERCISETIME;
|
|
179
|
+
case hashString("HKQuantityTypeIdentifierPushCount"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPUSHCOUNT;
|
|
180
|
+
case hashString("HKQuantityTypeIdentifierDistanceSwimming"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING;
|
|
181
|
+
case hashString("HKQuantityTypeIdentifierSwimmingStrokeCount"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT;
|
|
182
|
+
case hashString("HKQuantityTypeIdentifierVO2Max"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERVO2MAX;
|
|
183
|
+
case hashString("HKQuantityTypeIdentifierDistanceDownhillSnowSports"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS;
|
|
184
|
+
case hashString("HKQuantityTypeIdentifierAppleStandTime"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESTANDTIME;
|
|
185
|
+
case hashString("HKQuantityTypeIdentifierHeartRate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATE;
|
|
186
|
+
case hashString("HKQuantityTypeIdentifierBodyTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE;
|
|
187
|
+
case hashString("HKQuantityTypeIdentifierBasalBodyTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE;
|
|
188
|
+
case hashString("HKQuantityTypeIdentifierBloodPressureSystolic"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC;
|
|
189
|
+
case hashString("HKQuantityTypeIdentifierBloodPressureDiastolic"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC;
|
|
190
|
+
case hashString("HKQuantityTypeIdentifierRespiratoryRate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE;
|
|
191
|
+
case hashString("HKQuantityTypeIdentifierRestingHeartRate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE;
|
|
192
|
+
case hashString("HKQuantityTypeIdentifierHeartRateVariabilitySDNN"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN;
|
|
193
|
+
case hashString("HKQuantityTypeIdentifierOxygenSaturation"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION;
|
|
194
|
+
case hashString("HKQuantityTypeIdentifierPeripheralPerfusionIndex"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX;
|
|
195
|
+
case hashString("HKQuantityTypeIdentifierBloodGlucose"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE;
|
|
196
|
+
case hashString("HKQuantityTypeIdentifierNumberOfTimesFallen"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN;
|
|
197
|
+
case hashString("HKQuantityTypeIdentifierElectrodermalActivity"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY;
|
|
198
|
+
case hashString("HKQuantityTypeIdentifierInhalerUsage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE;
|
|
199
|
+
case hashString("HKQuantityTypeIdentifierInsulinDelivery"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY;
|
|
200
|
+
case hashString("HKQuantityTypeIdentifierBloodAlcoholContent"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT;
|
|
201
|
+
case hashString("HKQuantityTypeIdentifierForcedVitalCapacity"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY;
|
|
202
|
+
case hashString("HKQuantityTypeIdentifierForcedExpiratoryVolume1"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1;
|
|
203
|
+
case hashString("HKQuantityTypeIdentifierPeakExpiratoryFlowRate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE;
|
|
204
|
+
case hashString("HKQuantityTypeIdentifierEnvironmentalAudioExposure"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE;
|
|
205
|
+
case hashString("HKQuantityTypeIdentifierHeadphoneAudioExposure"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE;
|
|
206
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatTotal"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL;
|
|
207
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatPolyunsaturated"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED;
|
|
208
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatMonounsaturated"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED;
|
|
209
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatSaturated"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED;
|
|
210
|
+
case hashString("HKQuantityTypeIdentifierDietaryCholesterol"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL;
|
|
211
|
+
case hashString("HKQuantityTypeIdentifierDietarySodium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM;
|
|
212
|
+
case hashString("HKQuantityTypeIdentifierDietaryCarbohydrates"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES;
|
|
213
|
+
case hashString("HKQuantityTypeIdentifierDietaryFiber"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFIBER;
|
|
214
|
+
case hashString("HKQuantityTypeIdentifierDietarySugar"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR;
|
|
215
|
+
case hashString("HKQuantityTypeIdentifierDietaryEnergyConsumed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED;
|
|
216
|
+
case hashString("HKQuantityTypeIdentifierDietaryProtein"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN;
|
|
217
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminA"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA;
|
|
218
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminB6"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6;
|
|
219
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminB12"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12;
|
|
220
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminC"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC;
|
|
221
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminD"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND;
|
|
222
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminE"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE;
|
|
223
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminK"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK;
|
|
224
|
+
case hashString("HKQuantityTypeIdentifierDietaryCalcium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM;
|
|
225
|
+
case hashString("HKQuantityTypeIdentifierDietaryIron"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIRON;
|
|
226
|
+
case hashString("HKQuantityTypeIdentifierDietaryThiamin"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN;
|
|
227
|
+
case hashString("HKQuantityTypeIdentifierDietaryRiboflavin"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN;
|
|
228
|
+
case hashString("HKQuantityTypeIdentifierDietaryNiacin"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN;
|
|
229
|
+
case hashString("HKQuantityTypeIdentifierDietaryFolate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE;
|
|
230
|
+
case hashString("HKQuantityTypeIdentifierDietaryBiotin"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN;
|
|
231
|
+
case hashString("HKQuantityTypeIdentifierDietaryPantothenicAcid"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID;
|
|
232
|
+
case hashString("HKQuantityTypeIdentifierDietaryPhosphorus"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS;
|
|
233
|
+
case hashString("HKQuantityTypeIdentifierDietaryIodine"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIODINE;
|
|
234
|
+
case hashString("HKQuantityTypeIdentifierDietaryMagnesium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM;
|
|
235
|
+
case hashString("HKQuantityTypeIdentifierDietaryZinc"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYZINC;
|
|
236
|
+
case hashString("HKQuantityTypeIdentifierDietarySelenium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM;
|
|
237
|
+
case hashString("HKQuantityTypeIdentifierDietaryCopper"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER;
|
|
238
|
+
case hashString("HKQuantityTypeIdentifierDietaryManganese"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE;
|
|
239
|
+
case hashString("HKQuantityTypeIdentifierDietaryChromium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM;
|
|
240
|
+
case hashString("HKQuantityTypeIdentifierDietaryMolybdenum"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM;
|
|
241
|
+
case hashString("HKQuantityTypeIdentifierDietaryChloride"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE;
|
|
242
|
+
case hashString("HKQuantityTypeIdentifierDietaryPotassium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM;
|
|
243
|
+
case hashString("HKQuantityTypeIdentifierDietaryCaffeine"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE;
|
|
244
|
+
case hashString("HKQuantityTypeIdentifierDietaryWater"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYWATER;
|
|
245
|
+
case hashString("HKQuantityTypeIdentifierSixMinuteWalkTestDistance"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE;
|
|
246
|
+
case hashString("HKQuantityTypeIdentifierWalkingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSPEED;
|
|
247
|
+
case hashString("HKQuantityTypeIdentifierWalkingStepLength"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH;
|
|
248
|
+
case hashString("HKQuantityTypeIdentifierWalkingAsymmetryPercentage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE;
|
|
249
|
+
case hashString("HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE;
|
|
250
|
+
case hashString("HKQuantityTypeIdentifierStairAscentSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED;
|
|
251
|
+
case hashString("HKQuantityTypeIdentifierStairDescentSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED;
|
|
252
|
+
case hashString("HKQuantityTypeIdentifierUVExposure"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUVEXPOSURE;
|
|
253
|
+
case hashString("HKQuantityTypeIdentifierAppleMoveTime"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME;
|
|
254
|
+
case hashString("HKQuantityTypeIdentifierAppleWalkingSteadiness"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEWALKINGSTEADINESS;
|
|
255
|
+
case hashString("HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES;
|
|
256
|
+
case hashString("HKQuantityTypeIdentifierAtrialFibrillationBurden"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERATRIALFIBRILLATIONBURDEN;
|
|
257
|
+
case hashString("HKQuantityTypeIdentifierUnderwaterDepth"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH;
|
|
258
|
+
case hashString("HKQuantityTypeIdentifierWaterTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE;
|
|
259
|
+
case hashString("HKQuantityTypeIdentifierAppleSleepingWristTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE;
|
|
260
|
+
case hashString("HKQuantityTypeIdentifierTimeInDaylight"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT;
|
|
261
|
+
case hashString("HKQuantityTypeIdentifierPhysicalEffort"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT;
|
|
262
|
+
case hashString("HKQuantityTypeIdentifierCyclingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED;
|
|
263
|
+
case hashString("HKQuantityTypeIdentifierCyclingPower"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER;
|
|
264
|
+
case hashString("HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER;
|
|
265
|
+
case hashString("HKQuantityTypeIdentifierCyclingCadence"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE;
|
|
266
|
+
case hashString("HKQuantityTypeIdentifierEnvironmentalSoundReduction"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION;
|
|
267
|
+
case hashString("HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE;
|
|
268
|
+
case hashString("HKQuantityTypeIdentifierRunningGroundContactTime"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME;
|
|
269
|
+
case hashString("HKQuantityTypeIdentifierRunningStrideLength"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH;
|
|
270
|
+
case hashString("HKQuantityTypeIdentifierRunningPower"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER;
|
|
271
|
+
case hashString("HKQuantityTypeIdentifierRunningVerticalOscillation"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION;
|
|
272
|
+
case hashString("HKQuantityTypeIdentifierRunningSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED;
|
|
273
|
+
case hashString("HKQuantityTypeIdentifierCrossCountrySkiingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED;
|
|
274
|
+
case hashString("HKQuantityTypeIdentifierDistanceCrossCountrySkiing"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING;
|
|
275
|
+
case hashString("HKQuantityTypeIdentifierDistancePaddleSports"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS;
|
|
276
|
+
case hashString("HKQuantityTypeIdentifierDistanceRowing"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEROWING;
|
|
277
|
+
case hashString("HKQuantityTypeIdentifierDistanceSkatingSports"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS;
|
|
278
|
+
case hashString("HKQuantityTypeIdentifierEstimatedWorkoutEffortScore"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE;
|
|
279
|
+
case hashString("HKQuantityTypeIdentifierPaddleSportsSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED;
|
|
280
|
+
case hashString("HKQuantityTypeIdentifierRowingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERROWINGSPEED;
|
|
281
|
+
case hashString("HKQuantityTypeIdentifierWorkoutEffortScore"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE;
|
|
284
282
|
default: [[unlikely]]
|
|
285
283
|
throw std::invalid_argument("Cannot convert \"" + unionValue + "\" to enum QuantityTypeIdentifier - invalid value!");
|
|
286
284
|
}
|
|
287
285
|
}
|
|
288
|
-
static inline jsi::Value toJSI(jsi::Runtime& runtime, QuantityTypeIdentifier arg) {
|
|
286
|
+
static inline jsi::Value toJSI(jsi::Runtime& runtime, margelo::nitro::healthkit::QuantityTypeIdentifier arg) {
|
|
289
287
|
switch (arg) {
|
|
290
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGHEARTRATEAVERAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingHeartRateAverage");
|
|
291
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyMassIndex");
|
|
292
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyFatPercentage");
|
|
293
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEIGHT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeight");
|
|
294
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyMass");
|
|
295
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERLEANBODYMASS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierLeanBodyMass");
|
|
296
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWaistCircumference");
|
|
297
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTEPCOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStepCount");
|
|
298
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceWalkingRunning");
|
|
299
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceCycling");
|
|
300
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceWheelchair");
|
|
301
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBasalEnergyBurned");
|
|
302
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierActiveEnergyBurned");
|
|
303
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierFlightsClimbed");
|
|
304
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNIKEFUEL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNikeFuel");
|
|
305
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEEXERCISETIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleExerciseTime");
|
|
306
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPUSHCOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPushCount");
|
|
307
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceSwimming");
|
|
308
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierSwimmingStrokeCount");
|
|
309
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERVO2MAX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierVO2Max");
|
|
310
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceDownhillSnowSports");
|
|
311
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESTANDTIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleStandTime");
|
|
312
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRate");
|
|
313
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyTemperature");
|
|
314
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBasalBodyTemperature");
|
|
315
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodPressureSystolic");
|
|
316
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodPressureDiastolic");
|
|
317
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRespiratoryRate");
|
|
318
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRestingHeartRate");
|
|
319
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRateVariabilitySDNN");
|
|
320
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierOxygenSaturation");
|
|
321
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPeripheralPerfusionIndex");
|
|
322
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodGlucose");
|
|
323
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNumberOfTimesFallen");
|
|
324
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierElectrodermalActivity");
|
|
325
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierInhalerUsage");
|
|
326
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierInsulinDelivery");
|
|
327
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodAlcoholContent");
|
|
328
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierForcedVitalCapacity");
|
|
329
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierForcedExpiratoryVolume1");
|
|
330
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPeakExpiratoryFlowRate");
|
|
331
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEnvironmentalAudioExposure");
|
|
332
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeadphoneAudioExposure");
|
|
333
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatTotal");
|
|
334
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatPolyunsaturated");
|
|
335
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatMonounsaturated");
|
|
336
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatSaturated");
|
|
337
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCholesterol");
|
|
338
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySodium");
|
|
339
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCarbohydrates");
|
|
340
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFIBER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFiber");
|
|
341
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySugar");
|
|
342
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryEnergyConsumed");
|
|
343
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryProtein");
|
|
344
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminA");
|
|
345
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminB6");
|
|
346
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminB12");
|
|
347
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminC");
|
|
348
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminD");
|
|
349
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminE");
|
|
350
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminK");
|
|
351
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCalcium");
|
|
352
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIRON: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryIron");
|
|
353
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryThiamin");
|
|
354
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryRiboflavin");
|
|
355
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryNiacin");
|
|
356
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFolate");
|
|
357
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryBiotin");
|
|
358
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPantothenicAcid");
|
|
359
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPhosphorus");
|
|
360
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIODINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryIodine");
|
|
361
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryMagnesium");
|
|
362
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYZINC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryZinc");
|
|
363
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySelenium");
|
|
364
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCopper");
|
|
365
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryManganese");
|
|
366
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryChromium");
|
|
367
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryMolybdenum");
|
|
368
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryChloride");
|
|
369
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPotassium");
|
|
370
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCaffeine");
|
|
371
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYWATER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryWater");
|
|
372
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierSixMinuteWalkTestDistance");
|
|
373
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingSpeed");
|
|
374
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingStepLength");
|
|
375
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingAsymmetryPercentage");
|
|
376
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage");
|
|
377
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStairAscentSpeed");
|
|
378
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStairDescentSpeed");
|
|
379
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUVEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierUVExposure");
|
|
380
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleMoveTime");
|
|
381
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEWALKINGSTEADINESS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleWalkingSteadiness");
|
|
382
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages");
|
|
383
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERATRIALFIBRILLATIONBURDEN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAtrialFibrillationBurden");
|
|
384
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierUnderwaterDepth");
|
|
385
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWaterTemperature");
|
|
386
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleSleepingWristTemperature");
|
|
387
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierTimeInDaylight");
|
|
388
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPhysicalEffort");
|
|
389
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingSpeed");
|
|
390
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingPower");
|
|
391
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower");
|
|
392
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingCadence");
|
|
393
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEnvironmentalSoundReduction");
|
|
394
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute");
|
|
395
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningGroundContactTime");
|
|
396
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningStrideLength");
|
|
397
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningPower");
|
|
398
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningVerticalOscillation");
|
|
399
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningSpeed");
|
|
400
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCrossCountrySkiingSpeed");
|
|
401
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceCrossCountrySkiing");
|
|
402
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistancePaddleSports");
|
|
403
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEROWING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceRowing");
|
|
404
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceSkatingSports");
|
|
405
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore");
|
|
406
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPaddleSportsSpeed");
|
|
407
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERROWINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRowingSpeed");
|
|
408
|
-
case QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWorkoutEffortScore");
|
|
288
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGHEARTRATEAVERAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingHeartRateAverage");
|
|
289
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyMassIndex");
|
|
290
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyFatPercentage");
|
|
291
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEIGHT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeight");
|
|
292
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyMass");
|
|
293
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERLEANBODYMASS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierLeanBodyMass");
|
|
294
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWaistCircumference");
|
|
295
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTEPCOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStepCount");
|
|
296
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceWalkingRunning");
|
|
297
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceCycling");
|
|
298
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceWheelchair");
|
|
299
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBasalEnergyBurned");
|
|
300
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierActiveEnergyBurned");
|
|
301
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierFlightsClimbed");
|
|
302
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNIKEFUEL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNikeFuel");
|
|
303
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEEXERCISETIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleExerciseTime");
|
|
304
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPUSHCOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPushCount");
|
|
305
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceSwimming");
|
|
306
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierSwimmingStrokeCount");
|
|
307
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERVO2MAX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierVO2Max");
|
|
308
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceDownhillSnowSports");
|
|
309
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESTANDTIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleStandTime");
|
|
310
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRate");
|
|
311
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyTemperature");
|
|
312
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBasalBodyTemperature");
|
|
313
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodPressureSystolic");
|
|
314
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodPressureDiastolic");
|
|
315
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRespiratoryRate");
|
|
316
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRestingHeartRate");
|
|
317
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRateVariabilitySDNN");
|
|
318
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierOxygenSaturation");
|
|
319
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPeripheralPerfusionIndex");
|
|
320
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodGlucose");
|
|
321
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNumberOfTimesFallen");
|
|
322
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierElectrodermalActivity");
|
|
323
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierInhalerUsage");
|
|
324
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierInsulinDelivery");
|
|
325
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodAlcoholContent");
|
|
326
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierForcedVitalCapacity");
|
|
327
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierForcedExpiratoryVolume1");
|
|
328
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPeakExpiratoryFlowRate");
|
|
329
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEnvironmentalAudioExposure");
|
|
330
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeadphoneAudioExposure");
|
|
331
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatTotal");
|
|
332
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatPolyunsaturated");
|
|
333
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatMonounsaturated");
|
|
334
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatSaturated");
|
|
335
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCholesterol");
|
|
336
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySodium");
|
|
337
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCarbohydrates");
|
|
338
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFIBER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFiber");
|
|
339
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySugar");
|
|
340
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryEnergyConsumed");
|
|
341
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryProtein");
|
|
342
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminA");
|
|
343
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminB6");
|
|
344
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminB12");
|
|
345
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminC");
|
|
346
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminD");
|
|
347
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminE");
|
|
348
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminK");
|
|
349
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCalcium");
|
|
350
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIRON: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryIron");
|
|
351
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryThiamin");
|
|
352
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryRiboflavin");
|
|
353
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryNiacin");
|
|
354
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFolate");
|
|
355
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryBiotin");
|
|
356
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPantothenicAcid");
|
|
357
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPhosphorus");
|
|
358
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIODINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryIodine");
|
|
359
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryMagnesium");
|
|
360
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYZINC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryZinc");
|
|
361
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySelenium");
|
|
362
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCopper");
|
|
363
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryManganese");
|
|
364
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryChromium");
|
|
365
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryMolybdenum");
|
|
366
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryChloride");
|
|
367
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPotassium");
|
|
368
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCaffeine");
|
|
369
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYWATER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryWater");
|
|
370
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierSixMinuteWalkTestDistance");
|
|
371
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingSpeed");
|
|
372
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingStepLength");
|
|
373
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingAsymmetryPercentage");
|
|
374
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage");
|
|
375
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStairAscentSpeed");
|
|
376
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStairDescentSpeed");
|
|
377
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUVEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierUVExposure");
|
|
378
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleMoveTime");
|
|
379
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEWALKINGSTEADINESS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleWalkingSteadiness");
|
|
380
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages");
|
|
381
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERATRIALFIBRILLATIONBURDEN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAtrialFibrillationBurden");
|
|
382
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierUnderwaterDepth");
|
|
383
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWaterTemperature");
|
|
384
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleSleepingWristTemperature");
|
|
385
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierTimeInDaylight");
|
|
386
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPhysicalEffort");
|
|
387
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingSpeed");
|
|
388
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingPower");
|
|
389
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower");
|
|
390
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingCadence");
|
|
391
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEnvironmentalSoundReduction");
|
|
392
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute");
|
|
393
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningGroundContactTime");
|
|
394
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningStrideLength");
|
|
395
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningPower");
|
|
396
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningVerticalOscillation");
|
|
397
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningSpeed");
|
|
398
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCrossCountrySkiingSpeed");
|
|
399
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceCrossCountrySkiing");
|
|
400
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistancePaddleSports");
|
|
401
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEROWING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceRowing");
|
|
402
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceSkatingSports");
|
|
403
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore");
|
|
404
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPaddleSportsSpeed");
|
|
405
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERROWINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRowingSpeed");
|
|
406
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWorkoutEffortScore");
|
|
409
407
|
default: [[unlikely]]
|
|
410
408
|
throw std::invalid_argument("Cannot convert QuantityTypeIdentifier to JS - invalid value: "
|
|
411
409
|
+ std::to_string(static_cast<int>(arg)) + "!");
|