VLDHealthKitSubscriptionSet

Objective-C

enum VLDHealthKitSubscriptionSet : NSUInteger {}

Swift

enum VLDHealthKitSubscriptionSet : UInt, @unchecked Sendable

Convenience subscription sets that provide a useful set of related sample types. Sample types not present in VLDHealthKitSubscriptionSet can be manually specified.

  • 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.

    Declaration

    Objective-C

    VLDHealthKitSubscriptionSetRoutine

    Swift

    case routine = 0
  • Blood Glucose sample type.

    Declaration

    Objective-C

    VLDHealthKitSubscriptionSetDiabetes

    Swift

    case diabetes = 1
  • Includes Body Mass (weight), Height, Body Fat Percentage, Lean Body Mass, and Body Mass Index.

    Declaration

    Objective-C

    VLDHealthKitSubscriptionSetWeight

    Swift

    case weight = 2
  • Includes Workout, Nike Fuel, and Cycling Distance.

    Declaration

    Objective-C

    VLDHealthKitSubscriptionSetFitness

    Swift

    case fitness = 3
  • Sleep Analysis sample type, this is the total number of sleep seconds in the “Asleep” Sleep State.

    Declaration

    Objective-C

    VLDHealthKitSubscriptionSetSleep

    Swift

    case sleep = 4
  • 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.

    Declaration

    Objective-C

    VLDHealthKitSubscriptionSetBasicNutrition

    Swift

    case basicNutrition = 5
  • 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.

    Declaration

    Objective-C

    VLDHealthKitSubscriptionSetReproductiveHealth

    Swift

    case reproductiveHealth = 6
  • Includes Systolic Blood Presure, Diastolic Blood Pressure, Heart Rate, Body Temperature, and SpO2 (oxygen saturation).

    Declaration

    Objective-C

    VLDHealthKitSubscriptionSetBiometrics

    Swift

    case biometrics = 7