VLDHealthKitSubscriptionSet
Convenience subscription sets that provide a useful set of related sample types. Sample types not present in VLDHealthKitSubscriptionSet can be manually specified.
Definition
typedef NS_ENUM(NSUInteger, VLDHealthKitSubscriptionSet ) {
VLDHealthKitSubscriptionSetRoutine,
VLDHealthKitSubscriptionSetDiabetes,
VLDHealthKitSubscriptionSetWeight,
VLDHealthKitSubscriptionSetFitness,
VLDHealthKitSubscriptionSetSleep,
VLDHealthKitSubscriptionSetBasicNutrition,
VLDHealthKitSubscriptionSetReproductiveHealth,
VLDHealthKitSubscriptionSetBiometrics,
};
Constants
VLDHealthKitSubscriptionSetRoutine
-
Includes Step Count, Distance Walking/Running, Flights Climbed, Active Energy Burned, Basal Energy Burned, Apple Stand Hours (from the Apple Watch), Apple Exercise Minutes (from the Apple Watch), and Mindful Minutes (from the Apple Watch). in iOS 10 and later this will also include Wheelchair distance and Wheelchair push count.
VLDHealthKitSubscription.h
. VLDHealthKitSubscriptionSetDiabetes
-
Blood Glucose sample type.
VLDHealthKitSubscription.h
. VLDHealthKitSubscriptionSetWeight
-
Includes Body Mass (weight), Height, Body Fat Percentage, Lean Body Mass, and Body Mass Index.
VLDHealthKitSubscription.h
. VLDHealthKitSubscriptionSetFitness
-
Includes Workout, Nike Fuel, and Cycling Distance.
VLDHealthKitSubscription.h
. VLDHealthKitSubscriptionSetSleep
-
Sleep Analysis sample type, this is the total number of sleep seconds in the “Asleep” Sleep State.
VLDHealthKitSubscription.h
. VLDHealthKitSubscriptionSetBasicNutrition
-
Includes Calcium, Carbohydrates, Cholesterol, Fiber, Iron, Potassium, Protein, Saturated Fat, Sodium, Sugar, Total Fat, and Energy Consumed. in iOS 9 and later this will also include Dietary Water.
VLDHealthKitSubscription.h
. VLDHealthKitSubscriptionSetReproductiveHealth
-
Includes Sexual Activity, Cervical Mucus Quality, Intermenstrual Bleeding, Menstrual Flow, Ovulation Test Result, and BasalBodyTemperature. These sample types are only available in iOS 9 and later.
VLDHealthKitSubscription.h
. VLDHealthKitSubscriptionSetBiometrics
-
Includes Systolic Blood Presure, Diastolic Blood Pressure, Heart Rate, Body Temperature, and SpO2 (oxygen saturation).
VLDHealthKitSubscription.h
.
VLDHealthKitSubscription.h