Class HealthKit


  • public final class HealthKit
    extends java.lang.Object
    • Field Detail

      • HKObjectQueryNoLimit

        public static final long HKObjectQueryNoLimit
        The query returns all samples that match the given sampleType and predicate.
        See Also:
        Constant Field Values
    • Method Detail

      • HKErrorDomain

        public static java.lang.String HKErrorDomain()
      • HKPredicateKeyPathDateComponents

        public static java.lang.String HKPredicateKeyPathDateComponents()
        Predicate Key Paths
      • HKPredicateKeyPathUUID

        public static java.lang.String HKPredicateKeyPathUUID()
        Predicate Key Paths
      • HKPredicateKeyPathSource

        public static java.lang.String HKPredicateKeyPathSource()
      • HKPredicateKeyPathMetadata

        public static java.lang.String HKPredicateKeyPathMetadata()
      • HKPredicateKeyPathCorrelation

        public static java.lang.String HKPredicateKeyPathCorrelation()
      • HKPredicateKeyPathWorkout

        public static java.lang.String HKPredicateKeyPathWorkout()
      • HKPredicateKeyPathDevice

        public static java.lang.String HKPredicateKeyPathDevice()
      • HKPredicateKeyPathSourceRevision

        public static java.lang.String HKPredicateKeyPathSourceRevision()
      • HKSampleSortIdentifierStartDate

        public static java.lang.String HKSampleSortIdentifierStartDate()
        Sort Identifiers
      • HKSampleSortIdentifierEndDate

        public static java.lang.String HKSampleSortIdentifierEndDate()
      • HKPredicateKeyPathStartDate

        public static java.lang.String HKPredicateKeyPathStartDate()
        Predicate Key Paths
      • HKPredicateKeyPathEndDate

        public static java.lang.String HKPredicateKeyPathEndDate()
      • HKPredicateKeyPathWorkoutDuration

        public static java.lang.String HKPredicateKeyPathWorkoutDuration()
        Predicate Key Paths
      • HKPredicateKeyPathWorkoutTotalDistance

        public static java.lang.String HKPredicateKeyPathWorkoutTotalDistance()
      • HKPredicateKeyPathWorkoutTotalEnergyBurned

        public static java.lang.String HKPredicateKeyPathWorkoutTotalEnergyBurned()
      • HKPredicateKeyPathWorkoutType

        public static java.lang.String HKPredicateKeyPathWorkoutType()
      • HKPredicateKeyPathWorkoutTotalSwimmingStrokeCount

        public static java.lang.String HKPredicateKeyPathWorkoutTotalSwimmingStrokeCount()
      • HKWorkoutSortIdentifierDuration

        public static java.lang.String HKWorkoutSortIdentifierDuration()
        Sort Identifiers
      • HKWorkoutSortIdentifierTotalDistance

        public static java.lang.String HKWorkoutSortIdentifierTotalDistance()
      • HKWorkoutSortIdentifierTotalEnergyBurned

        public static java.lang.String HKWorkoutSortIdentifierTotalEnergyBurned()
      • HKWorkoutSortIdentifierTotalSwimmingStrokeCount

        public static java.lang.String HKWorkoutSortIdentifierTotalSwimmingStrokeCount()
      • HKPredicateKeyPathCategoryValue

        public static java.lang.String HKPredicateKeyPathCategoryValue()
        [@constant] HKPredicateKeyPathCategoryValue
      • HKPredicateKeyPathCDATitle

        public static java.lang.String HKPredicateKeyPathCDATitle()
        [@constant] HKPredicateKeyPathCDATitle
      • HKPredicateKeyPathCDAPatientName

        public static java.lang.String HKPredicateKeyPathCDAPatientName()
        [@constant] HKPredicateKeyPathCDAPatientName
      • HKPredicateKeyPathCDAAuthorName

        public static java.lang.String HKPredicateKeyPathCDAAuthorName()
        [@constant] HKPredicateKeyPathCDAAuthorName
      • HKPredicateKeyPathCDACustodianName

        public static java.lang.String HKPredicateKeyPathCDACustodianName()
        [@constant] HKPredicateKeyPathCDACustodianName
      • HKDetailedCDAValidationErrorKey

        public static java.lang.String HKDetailedCDAValidationErrorKey()
        [@constant] HKDetailedCDAValidationErrorKey This may be used with the validationError parameter of CDADocumentSampleWithData:startDate:endDate:device:metadata:validationError: to obtain a detailed description of the validation errors encountered when creating a CDA document.
      • HKDevicePropertyKeyName

        public static java.lang.String HKDevicePropertyKeyName()
        [@constant] HKDevicePropertyKeyName Used with predicateForObjectsWithDeviceProperty to specify a device name. The expected value type is an NSString.
      • HKDevicePropertyKeyManufacturer

        public static java.lang.String HKDevicePropertyKeyManufacturer()
        [@constant] HKDevicePropertyKeyManufacturer Used with predicateForObjectsWithDeviceProperty to specify a device manufacturer. The expected value type is an NSString.
      • HKDevicePropertyKeyModel

        public static java.lang.String HKDevicePropertyKeyModel()
        [@constant] HKDevicePropertyKeyModel Used with predicateForObjectsWithDeviceProperty to specify a device model. The expected value type is an NSString.
      • HKDevicePropertyKeyHardwareVersion

        public static java.lang.String HKDevicePropertyKeyHardwareVersion()
        [@constant] HKDevicePropertyKeyHardwareVersion Used with predicateForObjectsWithDeviceProperty to specify a hardware version. The expected value type is an NSString.
      • HKDevicePropertyKeyFirmwareVersion

        public static java.lang.String HKDevicePropertyKeyFirmwareVersion()
        [@constant] HKDevicePropertyKeyFirmwareVersion Used with predicateForObjectsWithDeviceProperty to specify a firmware version. The expected value type is an NSString.
      • HKDevicePropertyKeySoftwareVersion

        public static java.lang.String HKDevicePropertyKeySoftwareVersion()
        [@constant] HKDevicePropertyKeySoftwareVersion Used with predicateForObjectsWithDeviceProperty to specify a software version. The expected value type is an NSString.
      • HKDevicePropertyKeyLocalIdentifier

        public static java.lang.String HKDevicePropertyKeyLocalIdentifier()
        [@constant] HKDevicePropertyKeyLocalIdentifier Used with predicateForObjectsWithDeviceProperty to specify a local identifier. The expected value type is an NSString.
      • HKDevicePropertyKeyUDIDeviceIdentifier

        public static java.lang.String HKDevicePropertyKeyUDIDeviceIdentifier()
        [@constant] HKDevicePropertyKeyUDIDeviceIdentifier Used with predicateForObjectsWithDeviceProperty to specify a UDI device identifier. The expected value type is an NSString.
      • HKUserPreferencesDidChangeNotification

        public static java.lang.String HKUserPreferencesDidChangeNotification()
        [@constant] HKUserPreferencesDidChangeNotification A notification posted every time the user updates their preferred units. Each HKHealthStore posts a HKUserPreferencesDidChangeNotification notification when the preferred unit for a HKQuantityType is changed by the user. To guarantee your listener will only receive a single notification when this occurs, it is necessary to provide an HKHealthStore instance for the object parameter of NSNotificationCenter's addObserver methods.
      • HKMetadataKeyDeviceSerialNumber

        public static java.lang.String HKMetadataKeyDeviceSerialNumber()
        [@constant] HKMetadataKeyUDIProductionIdentifier Represents the serial number of the device that created the HKObject. The expected value type is NSString.
      • HKMetadataKeyBodyTemperatureSensorLocation

        public static java.lang.String HKMetadataKeyBodyTemperatureSensorLocation()
        [@constant] HKMetadataKeyBodyTemperatureSensorLocation Represents the location where a particular body temperature reading was taken. The expected value type is an NSNumber containing a HKBodyTemperatureSensorLocation value.
      • HKMetadataKeyHeartRateSensorLocation

        public static java.lang.String HKMetadataKeyHeartRateSensorLocation()
        [@constant] HKMetadataKeyHeartRateSensorLocation Represents the location where a particular heart rate reading was taken. The expected value type is an NSNumber containing a HKHeartRateSensorLocation value.
      • HKMetadataKeyFoodType

        public static java.lang.String HKMetadataKeyFoodType()
        [@constant] HKMetadataKeyFoodType Represents the type of food that was consumed when creating an HKObject. This should be a short string representing the type of food, such as 'Banana'. The expected value type is NSString.
      • HKMetadataKeyUDIDeviceIdentifier

        public static java.lang.String HKMetadataKeyUDIDeviceIdentifier()
        [@constant] HKMetadataKeyUDIDeviceIdentifier Represents the device identifier portion of a device's UDI (Unique Device Identifier). The device identifier can be used to reference the GUDID (Globally Unique Device Identifier Database). The expected value type is NSString. ** Note that the use of this key is now discouraged in favor of the HKDevice class.
      • HKMetadataKeyUDIProductionIdentifier

        public static java.lang.String HKMetadataKeyUDIProductionIdentifier()
        [@constant] HKMetadataKeyUDIProductionIdentifier Represents the production identifier portion of a device's UDI (Unique Device Identifier). While part of a device's UDI, the production identifier is not saved in the FDA's GUDID (Globally Unique Device Identifier Database) and its use in HealthKit is now discouraged for user privacy reasons. Apps should consider handling this independently of HealthKit APIs if needed. The expected value type is NSString.
      • HKMetadataKeyDigitalSignature

        public static java.lang.String HKMetadataKeyDigitalSignature()
        [@constant] HKMetadataKeyDigitalSignature Represents a digital signature validating the origin of an HKObject's value. Intended to provide data integrity for sample data produced by trusted (tamper resistant) measuring devices. The digital signature format should be CMS (Cryptographic Message Syntax specified in IETF RFC 5652). It should be a “Signed-data” type signature containing the data items to be signed (e.g., timestamp, value, etc.) using ASN.1 encoding with DER (Distinguished Encoding Rules). The entire enveloping signature should be further encoded using base64. Recommended digest is SHA256, and recommended cipher is FIPS PUB 186-4 Digital Signature Standard Elliptic Curve P-256. See documentation for details.
      • HKMetadataKeyExternalUUID

        public static java.lang.String HKMetadataKeyExternalUUID()
        [@constant] HKMetadataKeyExternalUUID Represents a unique identifier for an HKObject that is set by its source. Uniqueness of objects with the same value of this key is not enforced by HealthKit. The expected value type is NSString.
      • HKMetadataKeyTimeZone

        public static java.lang.String HKMetadataKeyTimeZone()
        [@constant] HKMetadataKeyTimeZone Represents the time zone that the user was in when the HKObject was created. The expected value type is an NSString compatible with NSTimeZone's +timeZoneWithName:.
      • HKMetadataKeyDeviceName

        public static java.lang.String HKMetadataKeyDeviceName()
        [@constant] HKMetadataKeyDeviceName Represents the name of the device that took the reading. The expected value type is NSString. ** Note that the use of this key is now discouraged in favor of the HKDevice class.
      • HKMetadataKeyDeviceManufacturerName

        public static java.lang.String HKMetadataKeyDeviceManufacturerName()
        [@constant] HKMetadataKeyDeviceManufacturerName Represents the name of the manufacturer of the device that took the reading. The expected value type is NSString. ** Note that the use of this key is now discouraged in favor of the HKDevice class.
      • HKMetadataKeyWasTakenInLab

        public static java.lang.String HKMetadataKeyWasTakenInLab()
        [@constant] HKMetadataKeyWasTakenInLab Represents whether or not the reading was taken in a lab. The expected value type is an NSNumber containing a BOOL value.
      • HKMetadataKeyReferenceRangeLowerLimit

        public static java.lang.String HKMetadataKeyReferenceRangeLowerLimit()
        [@constant] HKMetadataKeyReferenceRangeLowerLimit Represents the lower limit of the reference range for a lab result. The expected value type is an NSNumber.
      • HKMetadataKeyReferenceRangeUpperLimit

        public static java.lang.String HKMetadataKeyReferenceRangeUpperLimit()
        [@constant] HKMetadataKeyReferenceRangeUpperLimit Represents the upper limit of the reference range for a lab result. The expected value type is an NSNumber.
      • HKMetadataKeyWasUserEntered

        public static java.lang.String HKMetadataKeyWasUserEntered()
        [@constant] HKMetadataKeyWasUserEntered Represents whether or not the reading was entered by the user. The expected value type is an NSNumber containing a BOOL value.
      • HKMetadataKeyWorkoutBrandName

        public static java.lang.String HKMetadataKeyWorkoutBrandName()
        [@constant] HKMetadataKeyWorkoutBrandName Represents the brand name of a particular workout. The expected value type is NSString.
      • HKMetadataKeyGroupFitness

        public static java.lang.String HKMetadataKeyGroupFitness()
        [@constant] HKMetadataKeyGroupFitness Represents whether or not a workout was performed as part of a group fitness class. The expected value type is an NSNumber containing a BOOL value.
      • HKMetadataKeyIndoorWorkout

        public static java.lang.String HKMetadataKeyIndoorWorkout()
        [@constant] HKMetadataKeyIndoorWorkout Represents whether or not a workout was performed indoors as opposed to outdoors. The expected value type is an NSNumber containing a BOOL value.
      • HKMetadataKeyCoachedWorkout

        public static java.lang.String HKMetadataKeyCoachedWorkout()
        [@constant] HKMetadataKeyCoachedWorkout Represents whether or not a workout was performed with a coach or personal trainer. The expected value type is an NSNumber containing a BOOL value.
      • HKMetadataKeyWeatherCondition

        public static java.lang.String HKMetadataKeyWeatherCondition()
        [@constant] HKMetadataKeyWeatherCondition Represents the weather condition during the sample. The expected value type is an NSNumber containing an HKWeatherCondition value. This key may be set on an HKWorkout object to represent the overall weather condition during the workout.
      • HKMetadataKeyWeatherTemperature

        public static java.lang.String HKMetadataKeyWeatherTemperature()
        [@constant] HKMetadataKeyWeatherTemperature Represents the weather temperature during the sample. The expected value type is an HKQuantity expressed in a temperature unit. This key may be set on an HKWorkout object to represent the overall temperature during the workout.
      • HKMetadataKeyWeatherHumidity

        public static java.lang.String HKMetadataKeyWeatherHumidity()
        [@constant] HKMetadataKeyHumidity Represents the weather humidity during the sample. The expected value type is an HKQuantity expressed in percent. This key may be set on an HKWorkout object to represent the overall humidity during the workout.
      • HKMetadataKeySexualActivityProtectionUsed

        public static java.lang.String HKMetadataKeySexualActivityProtectionUsed()
        [@constant] HKMetadataKeySexualActivityProtectionUsed Represents whether or not protection was used during sexual activity. This can be used to track either protection from STIs or protection from pregnancy. The expected value type is an NSNumber containing a BOOL value.
      • HKMetadataKeyMenstrualCycleStart

        public static java.lang.String HKMetadataKeyMenstrualCycleStart()
        [@constant] HKMetadataKeyMenstrualCycleStart Indicates whether or not the sample represents the start of a menstrual cycle. This is a required metadata key for category samples of type HKCategoryTypeIdentifierMenstrualFlow. The expected value type is an NSNumber containing a BOOL value.
      • HKMetadataKeyLapLength

        public static java.lang.String HKMetadataKeyLapLength()
        [@constant] HKMetadataKeyLapLength Represents the length of a lap recorded during a workout. The expected value type is an HKQuantity object compatible with a length unit. This key may be set on an HKWorkout object to represent the length of a lap.
      • HKMetadataKeySwimmingLocationType

        public static java.lang.String HKMetadataKeySwimmingLocationType()
        [@constant] HKMetadataKeySwimmingLocationType Represents the location type of a swimming workout. The expected value type is an NSNumber containing an HKWorkoutSwimmingLocationType value. This key may be set on an HKWorkout object to represent the swimming location type.
      • HKMetadataKeySwimmingStrokeStyle

        public static java.lang.String HKMetadataKeySwimmingStrokeStyle()
        [@constant] HKMetadataKeySwimmingStrokeStyle Represents the predominant stroke style during a lap of a swimming workout. The expected value type is an NSNumber containing an HKSwimmingStrokeStyle value. This key may be set on an HKWorkoutEvent object with the type HKWorkoutEventTypeLap to represent the predominant style used during the lap.
      • HKQuantityTypeIdentifierBodyMassIndex

        public static java.lang.String HKQuantityTypeIdentifierBodyMassIndex()
        Scalar(Count), Discrete
      • HKQuantityTypeIdentifierBodyFatPercentage

        public static java.lang.String HKQuantityTypeIdentifierBodyFatPercentage()
        Scalar(Percent, 0.0 - 1.0), Discrete
      • HKQuantityTypeIdentifierHeight

        public static java.lang.String HKQuantityTypeIdentifierHeight()
        Length, Discrete
      • HKQuantityTypeIdentifierBodyMass

        public static java.lang.String HKQuantityTypeIdentifierBodyMass()
        Mass, Discrete
      • HKQuantityTypeIdentifierLeanBodyMass

        public static java.lang.String HKQuantityTypeIdentifierLeanBodyMass()
        Mass, Discrete
      • HKQuantityTypeIdentifierStepCount

        public static java.lang.String HKQuantityTypeIdentifierStepCount()
        Scalar(Count), Cumulative
      • HKQuantityTypeIdentifierDistanceWalkingRunning

        public static java.lang.String HKQuantityTypeIdentifierDistanceWalkingRunning()
        Length, Cumulative
      • HKQuantityTypeIdentifierDistanceCycling

        public static java.lang.String HKQuantityTypeIdentifierDistanceCycling()
        Length, Cumulative
      • HKQuantityTypeIdentifierDistanceWheelchair

        public static java.lang.String HKQuantityTypeIdentifierDistanceWheelchair()
        Length, Cumulative
      • HKQuantityTypeIdentifierBasalEnergyBurned

        public static java.lang.String HKQuantityTypeIdentifierBasalEnergyBurned()
        Energy, Cumulative
      • HKQuantityTypeIdentifierActiveEnergyBurned

        public static java.lang.String HKQuantityTypeIdentifierActiveEnergyBurned()
        Energy, Cumulative
      • HKQuantityTypeIdentifierFlightsClimbed

        public static java.lang.String HKQuantityTypeIdentifierFlightsClimbed()
        Scalar(Count), Cumulative
      • HKQuantityTypeIdentifierNikeFuel

        public static java.lang.String HKQuantityTypeIdentifierNikeFuel()
        Scalar(Count), Cumulative
      • HKQuantityTypeIdentifierAppleExerciseTime

        public static java.lang.String HKQuantityTypeIdentifierAppleExerciseTime()
        Time Cumulative
      • HKQuantityTypeIdentifierPushCount

        public static java.lang.String HKQuantityTypeIdentifierPushCount()
        Scalar(Count), Cumulative
      • HKQuantityTypeIdentifierDistanceSwimming

        public static java.lang.String HKQuantityTypeIdentifierDistanceSwimming()
        Length, Cumulative
      • HKQuantityTypeIdentifierSwimmingStrokeCount

        public static java.lang.String HKQuantityTypeIdentifierSwimmingStrokeCount()
        Scalar(Count), Cumulative
      • HKQuantityTypeIdentifierHeartRate

        public static java.lang.String HKQuantityTypeIdentifierHeartRate()
        Scalar(Count)/Time, Discrete
      • HKQuantityTypeIdentifierBodyTemperature

        public static java.lang.String HKQuantityTypeIdentifierBodyTemperature()
        Temperature, Discrete
      • HKQuantityTypeIdentifierBasalBodyTemperature

        public static java.lang.String HKQuantityTypeIdentifierBasalBodyTemperature()
        Basal Body Temperature, Discrete
      • HKQuantityTypeIdentifierBloodPressureSystolic

        public static java.lang.String HKQuantityTypeIdentifierBloodPressureSystolic()
        Pressure, Discrete
      • HKQuantityTypeIdentifierBloodPressureDiastolic

        public static java.lang.String HKQuantityTypeIdentifierBloodPressureDiastolic()
        Pressure, Discrete
      • HKQuantityTypeIdentifierRespiratoryRate

        public static java.lang.String HKQuantityTypeIdentifierRespiratoryRate()
        Scalar(Count)/Time, Discrete
      • HKQuantityTypeIdentifierOxygenSaturation

        public static java.lang.String HKQuantityTypeIdentifierOxygenSaturation()
        Scalar(Percent, 0.0 - 1.0), Discrete
      • HKQuantityTypeIdentifierPeripheralPerfusionIndex

        public static java.lang.String HKQuantityTypeIdentifierPeripheralPerfusionIndex()
        Scalar(Percent, 0.0 - 1.0), Discrete
      • HKQuantityTypeIdentifierBloodGlucose

        public static java.lang.String HKQuantityTypeIdentifierBloodGlucose()
        Mass/Volume, Discrete
      • HKQuantityTypeIdentifierNumberOfTimesFallen

        public static java.lang.String HKQuantityTypeIdentifierNumberOfTimesFallen()
        Scalar(Count), Cumulative
      • HKQuantityTypeIdentifierElectrodermalActivity

        public static java.lang.String HKQuantityTypeIdentifierElectrodermalActivity()
        Conductance, Discrete
      • HKQuantityTypeIdentifierInhalerUsage

        public static java.lang.String HKQuantityTypeIdentifierInhalerUsage()
        Scalar(Count), Cumulative
      • HKQuantityTypeIdentifierBloodAlcoholContent

        public static java.lang.String HKQuantityTypeIdentifierBloodAlcoholContent()
        Scalar(Percent, 0.0 - 1.0), Discrete
      • HKQuantityTypeIdentifierForcedVitalCapacity

        public static java.lang.String HKQuantityTypeIdentifierForcedVitalCapacity()
        Volume, Discrete
      • HKQuantityTypeIdentifierForcedExpiratoryVolume1

        public static java.lang.String HKQuantityTypeIdentifierForcedExpiratoryVolume1()
        Volume, Discrete
      • HKQuantityTypeIdentifierPeakExpiratoryFlowRate

        public static java.lang.String HKQuantityTypeIdentifierPeakExpiratoryFlowRate()
        Volume/Time, Discrete
      • HKQuantityTypeIdentifierDietaryFatTotal

        public static java.lang.String HKQuantityTypeIdentifierDietaryFatTotal()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryFatPolyunsaturated

        public static java.lang.String HKQuantityTypeIdentifierDietaryFatPolyunsaturated()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryFatMonounsaturated

        public static java.lang.String HKQuantityTypeIdentifierDietaryFatMonounsaturated()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryFatSaturated

        public static java.lang.String HKQuantityTypeIdentifierDietaryFatSaturated()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryCholesterol

        public static java.lang.String HKQuantityTypeIdentifierDietaryCholesterol()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietarySodium

        public static java.lang.String HKQuantityTypeIdentifierDietarySodium()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryCarbohydrates

        public static java.lang.String HKQuantityTypeIdentifierDietaryCarbohydrates()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryFiber

        public static java.lang.String HKQuantityTypeIdentifierDietaryFiber()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietarySugar

        public static java.lang.String HKQuantityTypeIdentifierDietarySugar()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryEnergyConsumed

        public static java.lang.String HKQuantityTypeIdentifierDietaryEnergyConsumed()
        Energy, Cumulative
      • HKQuantityTypeIdentifierDietaryProtein

        public static java.lang.String HKQuantityTypeIdentifierDietaryProtein()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryVitaminA

        public static java.lang.String HKQuantityTypeIdentifierDietaryVitaminA()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryVitaminB6

        public static java.lang.String HKQuantityTypeIdentifierDietaryVitaminB6()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryVitaminB12

        public static java.lang.String HKQuantityTypeIdentifierDietaryVitaminB12()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryVitaminC

        public static java.lang.String HKQuantityTypeIdentifierDietaryVitaminC()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryVitaminD

        public static java.lang.String HKQuantityTypeIdentifierDietaryVitaminD()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryVitaminE

        public static java.lang.String HKQuantityTypeIdentifierDietaryVitaminE()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryVitaminK

        public static java.lang.String HKQuantityTypeIdentifierDietaryVitaminK()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryCalcium

        public static java.lang.String HKQuantityTypeIdentifierDietaryCalcium()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryIron

        public static java.lang.String HKQuantityTypeIdentifierDietaryIron()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryThiamin

        public static java.lang.String HKQuantityTypeIdentifierDietaryThiamin()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryRiboflavin

        public static java.lang.String HKQuantityTypeIdentifierDietaryRiboflavin()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryNiacin

        public static java.lang.String HKQuantityTypeIdentifierDietaryNiacin()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryFolate

        public static java.lang.String HKQuantityTypeIdentifierDietaryFolate()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryBiotin

        public static java.lang.String HKQuantityTypeIdentifierDietaryBiotin()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryPantothenicAcid

        public static java.lang.String HKQuantityTypeIdentifierDietaryPantothenicAcid()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryPhosphorus

        public static java.lang.String HKQuantityTypeIdentifierDietaryPhosphorus()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryIodine

        public static java.lang.String HKQuantityTypeIdentifierDietaryIodine()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryMagnesium

        public static java.lang.String HKQuantityTypeIdentifierDietaryMagnesium()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryZinc

        public static java.lang.String HKQuantityTypeIdentifierDietaryZinc()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietarySelenium

        public static java.lang.String HKQuantityTypeIdentifierDietarySelenium()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryCopper

        public static java.lang.String HKQuantityTypeIdentifierDietaryCopper()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryManganese

        public static java.lang.String HKQuantityTypeIdentifierDietaryManganese()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryChromium

        public static java.lang.String HKQuantityTypeIdentifierDietaryChromium()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryMolybdenum

        public static java.lang.String HKQuantityTypeIdentifierDietaryMolybdenum()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryChloride

        public static java.lang.String HKQuantityTypeIdentifierDietaryChloride()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryPotassium

        public static java.lang.String HKQuantityTypeIdentifierDietaryPotassium()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryCaffeine

        public static java.lang.String HKQuantityTypeIdentifierDietaryCaffeine()
        Mass, Cumulative
      • HKQuantityTypeIdentifierDietaryWater

        public static java.lang.String HKQuantityTypeIdentifierDietaryWater()
        Volume, Cumulative
      • HKQuantityTypeIdentifierUVExposure

        public static java.lang.String HKQuantityTypeIdentifierUVExposure()
        Scalar(Count), Discrete
      • HKCategoryTypeIdentifierSleepAnalysis

        public static java.lang.String HKCategoryTypeIdentifierSleepAnalysis()
        HKCategoryValueSleepAnalysis
      • HKCategoryTypeIdentifierAppleStandHour

        public static java.lang.String HKCategoryTypeIdentifierAppleStandHour()
        HKCategoryValueAppleStandHour
      • HKCategoryTypeIdentifierCervicalMucusQuality

        public static java.lang.String HKCategoryTypeIdentifierCervicalMucusQuality()
        HKCategoryValueCervicalMucusQuality
      • HKCategoryTypeIdentifierOvulationTestResult

        public static java.lang.String HKCategoryTypeIdentifierOvulationTestResult()
        HKCategoryValueOvulationTestResult
      • HKCategoryTypeIdentifierMenstrualFlow

        public static java.lang.String HKCategoryTypeIdentifierMenstrualFlow()
        HKCategoryValueMenstrualFlow
      • HKCategoryTypeIdentifierIntermenstrualBleeding

        public static java.lang.String HKCategoryTypeIdentifierIntermenstrualBleeding()
        (Spotting) HKCategoryValue
      • HKCategoryTypeIdentifierSexualActivity

        public static java.lang.String HKCategoryTypeIdentifierSexualActivity()
        HKCategoryValue
      • HKCategoryTypeIdentifierMindfulSession

        public static java.lang.String HKCategoryTypeIdentifierMindfulSession()
        HKCategoryValue
      • HKCharacteristicTypeIdentifierBiologicalSex

        public static java.lang.String HKCharacteristicTypeIdentifierBiologicalSex()
        HKBiologicalSexObject
      • HKCharacteristicTypeIdentifierBloodType

        public static java.lang.String HKCharacteristicTypeIdentifierBloodType()
        HKBloodTypeObject
      • HKCharacteristicTypeIdentifierDateOfBirth

        public static java.lang.String HKCharacteristicTypeIdentifierDateOfBirth()
        NSDateComponents
      • HKCharacteristicTypeIdentifierFitzpatrickSkinType

        public static java.lang.String HKCharacteristicTypeIdentifierFitzpatrickSkinType()
        HKFitzpatrickSkinTypeObject
      • HKCharacteristicTypeIdentifierWheelchairUse

        public static java.lang.String HKCharacteristicTypeIdentifierWheelchairUse()
        HKWheelchairUseObject
      • HKCorrelationTypeIdentifierBloodPressure

        public static java.lang.String HKCorrelationTypeIdentifierBloodPressure()
      • HKCorrelationTypeIdentifierFood

        public static java.lang.String HKCorrelationTypeIdentifierFood()
      • HKDocumentTypeIdentifierCDA

        public static java.lang.String HKDocumentTypeIdentifierCDA()
      • HKWorkoutTypeIdentifier

        public static java.lang.String HKWorkoutTypeIdentifier()
        ------------------------------ HKWorkoutType Identifier ------------------------------
      • HKPredicateKeyPathQuantity

        public static java.lang.String HKPredicateKeyPathQuantity()
        Predicate Key Paths
      • HKPredicateKeyPathWorkoutTotalFlightsClimbed

        public static java.lang.String HKPredicateKeyPathWorkoutTotalFlightsClimbed()
      • HKWorkoutSortIdentifierTotalFlightsClimbed

        public static java.lang.String HKWorkoutSortIdentifierTotalFlightsClimbed()
      • HKMetadataKeyHeartRateMotionContext

        public static java.lang.String HKMetadataKeyHeartRateMotionContext()
        [@constant] HKMetadataKeyHeartRateMotionContext Represents the context in which a particular heart rate reading was taken. The expected value type is an NSNumber containing a HKHeartRateMotionContext value. The value is active (HKHeartRateMotionContextActive) if the user is in motion or working out, sedentary if the user is still (HKHeartRateMotionContextSedentary), or not set (HKHeartRateMotionContextNotSet) otherwise.
      • HKMetadataKeySyncIdentifier

        public static java.lang.String HKMetadataKeySyncIdentifier()
        [@constant] HKMetadataKeySyncIdentifier Represents an identifier for an HKObject that is set by its source and is used by HealthKit to uniquely identify an object. Saving a HKObject with a HKMetadataKeySyncIdentifier will replace an existing HKObject with the same HKMetadataKeySyncIdentifier value if the new HKObject has a greater HKMetadataKeySyncVersion. The new sample will be added to all HKWorkouts or HKCorrelations containing the replaced sample. HKMetadataKeySyncVersion must be provided if HKMetadataKeySyncIdentifier is provided. The expected value type is NSString.
      • HKMetadataKeySyncVersion

        public static java.lang.String HKMetadataKeySyncVersion()
        [@constant] HKMetadataKeySyncVersion Represents the version of the HKObject that is set by its source and is used by HealthKit to identify an object's version. HKMetadataKeySyncVersion may not be provided if HKMetadataKeySyncIdentifier is not provided. The expected value type is NSNumber.
      • HKMetadataKeyInsulinDeliveryReason

        public static java.lang.String HKMetadataKeyInsulinDeliveryReason()
        [@constant] HKMetadataKeyInsulinDeliveryReason Represents the medical reason for the delivery of an insulin dose. This is a required metadata key for samples of type HKQuantityTypeIdentifierInsulinDelivery. The expected value type is an NSNumber containing a HKInsulinDeliveryReason value.
      • HKMetadataKeyBloodGlucoseMealTime

        public static java.lang.String HKMetadataKeyBloodGlucoseMealTime()
        [@constant] HKMetadataKeyBloodGlucoseMealTime Indicates the relative timing of a blood glucose reading to a meal. This timing, as well as other factors like meal composition, can be used by medical professionals to determine the acceptable value range for a blood glucose reading. For use cases requiring the capture of precise timing and composition information, developers should record additional dietary samples, such as HKQuantityTypeIdentifierDietaryCarbohydrates. The expected value type is an NSNumber containing a HKBloodGlucoseMealTime value.
      • HKMetadataKeyVO2MaxTestType

        public static java.lang.String HKMetadataKeyVO2MaxTestType()
        [@constant] HKMetadataKeyVO2MaxTestType Represents the test used to create VO2 Max Sample The expected value type is an NSNumber containing a HKVO2MaxTestType value.
      • HKQuantityTypeIdentifierWaistCircumference

        public static java.lang.String HKQuantityTypeIdentifierWaistCircumference()
        Length, Discrete
      • HKQuantityTypeIdentifierVO2Max

        public static java.lang.String HKQuantityTypeIdentifierVO2Max()
        ml/(kg*min) Discrete
      • HKQuantityTypeIdentifierRestingHeartRate

        public static java.lang.String HKQuantityTypeIdentifierRestingHeartRate()
        Scalar(Count)/Time, Discrete
      • HKQuantityTypeIdentifierWalkingHeartRateAverage

        public static java.lang.String HKQuantityTypeIdentifierWalkingHeartRateAverage()
        Scalar(Count)/Time, Discrete
      • HKQuantityTypeIdentifierHeartRateVariabilitySDNN

        public static java.lang.String HKQuantityTypeIdentifierHeartRateVariabilitySDNN()
        Time (ms), Discrete
      • HKQuantityTypeIdentifierInsulinDelivery

        public static java.lang.String HKQuantityTypeIdentifierInsulinDelivery()
        Pharmacology (IU) Cumulative
      • HKWorkoutRouteTypeIdentifier

        public static java.lang.String HKWorkoutRouteTypeIdentifier()
        -------------------------------- HKSeriesSample Identifiers --------------------------------
      • HKSourceRevisionAnyVersion

        public static java.lang.String HKSourceRevisionAnyVersion()
        Constants to match on any value of that property when querying for samples from an HKSourceRevision
      • HKSourceRevisionAnyProductType

        public static java.lang.String HKSourceRevisionAnyProductType()
      • HKFHIRResourceTypeAllergyIntolerance

        public static java.lang.String HKFHIRResourceTypeAllergyIntolerance()
      • HKFHIRResourceTypeCondition

        public static java.lang.String HKFHIRResourceTypeCondition()
      • HKFHIRResourceTypeImmunization

        public static java.lang.String HKFHIRResourceTypeImmunization()
      • HKFHIRResourceTypeMedicationDispense

        public static java.lang.String HKFHIRResourceTypeMedicationDispense()
      • HKFHIRResourceTypeMedicationOrder

        public static java.lang.String HKFHIRResourceTypeMedicationOrder()
      • HKFHIRResourceTypeMedicationStatement

        public static java.lang.String HKFHIRResourceTypeMedicationStatement()
      • HKFHIRResourceTypeObservation

        public static java.lang.String HKFHIRResourceTypeObservation()
      • HKFHIRResourceTypeProcedure

        public static java.lang.String HKFHIRResourceTypeProcedure()
      • HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier

        public static java.lang.String HKPredicateKeyPathClinicalRecordFHIRResourceIdentifier()
      • HKPredicateKeyPathClinicalRecordFHIRResourceType

        public static java.lang.String HKPredicateKeyPathClinicalRecordFHIRResourceType()
      • HKQuantityTypeIdentifierDistanceDownhillSnowSports

        public static java.lang.String HKQuantityTypeIdentifierDistanceDownhillSnowSports()
        Length, Cumulative
      • HKQuantityTypeIdentifierAppleStandTime

        public static java.lang.String HKQuantityTypeIdentifierAppleStandTime()
        Time, Cumulative
      • HKQuantityTypeIdentifierEnvironmentalAudioExposure

        public static java.lang.String HKQuantityTypeIdentifierEnvironmentalAudioExposure()
        Pressure, DiscreteEquivalentContinuousLevel
      • HKQuantityTypeIdentifierHeadphoneAudioExposure

        public static java.lang.String HKQuantityTypeIdentifierHeadphoneAudioExposure()
        Pressure, DiscreteEquivalentContinuousLevel
      • HKCategoryTypeIdentifierHighHeartRateEvent

        public static java.lang.String HKCategoryTypeIdentifierHighHeartRateEvent()
        HKCategoryValue
      • HKCategoryTypeIdentifierLowHeartRateEvent

        public static java.lang.String HKCategoryTypeIdentifierLowHeartRateEvent()
        HKCategoryValue
      • HKCategoryTypeIdentifierIrregularHeartRhythmEvent

        public static java.lang.String HKCategoryTypeIdentifierIrregularHeartRhythmEvent()
        HKCategoryValue
      • HKCategoryTypeIdentifierAudioExposureEvent

        public static java.lang.String HKCategoryTypeIdentifierAudioExposureEvent()
        HKCategoryValueAudioExposureEvent
      • HKCategoryTypeIdentifierToothbrushingEvent

        public static java.lang.String HKCategoryTypeIdentifierToothbrushingEvent()
        HKCategoryValue
      • HKDataTypeIdentifierHeartbeatSeries

        public static java.lang.String HKDataTypeIdentifierHeartbeatSeries()
      • HKClinicalTypeIdentifierAllergyRecord

        public static java.lang.String HKClinicalTypeIdentifierAllergyRecord()
      • HKClinicalTypeIdentifierConditionRecord

        public static java.lang.String HKClinicalTypeIdentifierConditionRecord()
      • HKClinicalTypeIdentifierImmunizationRecord

        public static java.lang.String HKClinicalTypeIdentifierImmunizationRecord()
      • HKClinicalTypeIdentifierLabResultRecord

        public static java.lang.String HKClinicalTypeIdentifierLabResultRecord()
      • HKClinicalTypeIdentifierMedicationRecord

        public static java.lang.String HKClinicalTypeIdentifierMedicationRecord()
      • HKClinicalTypeIdentifierProcedureRecord

        public static java.lang.String HKClinicalTypeIdentifierProcedureRecord()
      • HKClinicalTypeIdentifierVitalSignRecord

        public static java.lang.String HKClinicalTypeIdentifierVitalSignRecord()
      • HKPredicateKeyPathCount

        public static java.lang.String HKPredicateKeyPathCount()
      • HKPredicateKeyPathSum

        public static java.lang.String HKPredicateKeyPathSum()
        Predicate Key Paths
      • HKPredicateKeyPathMin

        public static java.lang.String HKPredicateKeyPathMin()
        Predicate Key Paths
      • HKPredicateKeyPathAverage

        public static java.lang.String HKPredicateKeyPathAverage()
      • HKPredicateKeyPathMax

        public static java.lang.String HKPredicateKeyPathMax()
      • HKPredicateKeyPathMostRecent

        public static java.lang.String HKPredicateKeyPathMostRecent()
      • HKPredicateKeyPathMostRecentStartDate

        public static java.lang.String HKPredicateKeyPathMostRecentStartDate()
      • HKPredicateKeyPathMostRecentEndDate

        public static java.lang.String HKPredicateKeyPathMostRecentEndDate()
      • HKPredicateKeyPathMostRecentDuration

        public static java.lang.String HKPredicateKeyPathMostRecentDuration()
      • HKMetadataKeyAverageSpeed

        public static java.lang.String HKMetadataKeyAverageSpeed()
        [@constant] HKMetadataKeyAverageSpeed Represents the average speed for a workout segment or distance sample. This represents the average speed when moving so it may not match the value of distance/time for a distance sample. The expected value type is an HKQuantity object compatible with a speed unit (e.g. m/s). This key may be set on quantity samples of type HKQuantityTypeIdentifierDistanceDownhillSnowSports or a workout segment representing a skiing run.
      • HKMetadataKeyMaximumSpeed

        public static java.lang.String HKMetadataKeyMaximumSpeed()
        [@constant] HKMetadataKeyMaximumSpeed Represents the maximum speed for a workout segment or distance sample. The expected value type is an HKQuantity object compatible with a speed unit (e.g. m/s). This key may be set on quantity samples of type HKQuantityTypeIdentifierDistanceDownhillSnowSports or a workout segment representing a skiing run.
      • HKMetadataKeyAlpineSlopeGrade

        public static java.lang.String HKMetadataKeyAlpineSlopeGrade()
        [@constant] HKMetadataKeyAlpineSlopeGrade Represents the grade of a ski run. Alpine slope grade is measured in percent where 100% grade is a 45 degree slope. The expected value type is an HKQuantity object compatible with percent unit. This key may be set on quantity samples of type HKQuantityTypeIdentifierDistanceDownhillSnowSports or a workout segment representing a skiing run.
      • HKMetadataKeyElevationAscended

        public static java.lang.String HKMetadataKeyElevationAscended()
        [@constant] HKMetadataKeyElevationAscended Represents the cumulative elevation ascent during a workout. The expected value type is an HKQuantity object compatible with length unit. This key may be set on a workout, workout segments or distance samples.
      • HKMetadataKeyElevationDescended

        public static java.lang.String HKMetadataKeyElevationDescended()
        [@constant] HKMetadataKeyElevationDescended Represents the cumulative elevation descent during a workout. The expected value type is an HKQuantity object compatible with length unit. This key may be set on a workout, workout segments or distance samples.
      • HKMetadataKeyFitnessMachineDuration

        public static java.lang.String HKMetadataKeyFitnessMachineDuration()
        [@constant] HKMetadataKeyFitnessMachineDuration Represents the workout duration as displayed by a GymKit connected fitness machine. The expected value type is an HKQuantity object compatible with a time unit. This key may be set on an HKWorkout object to represent the duration of the workout as displayed by a GymKit connected fitness machine.
      • HKMetadataKeyIndoorBikeDistance

        public static java.lang.String HKMetadataKeyIndoorBikeDistance()
        [@constant] HKMetadataKeyIndoorBikeDistance Represents the distance covered during an indoor bike workout. The expected value type is an HKQuantity object compatible with a length unit. This key may be set on an HKWorkout object to represent the distance covered during an indoor bike workout.
      • HKMetadataKeyCrossTrainerDistance

        public static java.lang.String HKMetadataKeyCrossTrainerDistance()
        [@constant] HKMetadataKeyCrossTrainerDistance Represents the distance covered during a cross trainer workout. The expected value type is an HKQuantity object compatible with a length unit. This key may be set on an HKWorkout object to represent the distance covered during a cross trainer workout.
      • HKMetadataKeyHeartRateEventThreshold

        public static java.lang.String HKMetadataKeyHeartRateEventThreshold()
        [@constant] HKMetadataKeyHeartRateEventThreshold Represents the threshold heart rate that triggered a heart rate event. The expected value is an HKQuantity object with a compatible unit (e.g. count/min). This key will be set on heart rate event samples of type HKCategoryTypeIdentifierHighHeartRateEvent and HKCategoryTypeIdentifierLowHeartRateEvent.
      • HKMetadataKeyAverageMETs

        public static java.lang.String HKMetadataKeyAverageMETs()
        [@constant] HKMetadataKeyAverageMETs Represents the average METs, or Metabolic Equivalent of Task during a workout. The expected value type is an HKQuantity expressed in a METs (kcal/(kg*hr)) unit. This key may be set on an HKWorkout object to represent the average workout intensity represented as METs over the entire workout duration.
      • HKMetadataKeyAudioExposureLevel

        public static java.lang.String HKMetadataKeyAudioExposureLevel()
        [@constant] HKMetadataKeyAudioExposureLevel Represents the audio level associated with an audio event. The expected value is an HKQuantity whose value is the audio level associated with the event measured in dbASPL units.
      • HKCategoryTypeIdentifierAbdominalCramps

        public static java.lang.String HKCategoryTypeIdentifierAbdominalCramps()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierAcne

        public static java.lang.String HKCategoryTypeIdentifierAcne()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierAppetiteChanges

        public static java.lang.String HKCategoryTypeIdentifierAppetiteChanges()
        HKCategoryValueAppetiteChanges
      • HKCategoryTypeIdentifierGeneralizedBodyAche

        public static java.lang.String HKCategoryTypeIdentifierGeneralizedBodyAche()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierBloating

        public static java.lang.String HKCategoryTypeIdentifierBloating()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierBreastPain

        public static java.lang.String HKCategoryTypeIdentifierBreastPain()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierChestTightnessOrPain

        public static java.lang.String HKCategoryTypeIdentifierChestTightnessOrPain()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierChills

        public static java.lang.String HKCategoryTypeIdentifierChills()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierConstipation

        public static java.lang.String HKCategoryTypeIdentifierConstipation()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierCoughing

        public static java.lang.String HKCategoryTypeIdentifierCoughing()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierDiarrhea

        public static java.lang.String HKCategoryTypeIdentifierDiarrhea()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierDizziness

        public static java.lang.String HKCategoryTypeIdentifierDizziness()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierFainting

        public static java.lang.String HKCategoryTypeIdentifierFainting()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierFatigue

        public static java.lang.String HKCategoryTypeIdentifierFatigue()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierFever

        public static java.lang.String HKCategoryTypeIdentifierFever()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierHeadache

        public static java.lang.String HKCategoryTypeIdentifierHeadache()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierHeartburn

        public static java.lang.String HKCategoryTypeIdentifierHeartburn()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierHotFlashes

        public static java.lang.String HKCategoryTypeIdentifierHotFlashes()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierLowerBackPain

        public static java.lang.String HKCategoryTypeIdentifierLowerBackPain()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierLossOfSmell

        public static java.lang.String HKCategoryTypeIdentifierLossOfSmell()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierLossOfTaste

        public static java.lang.String HKCategoryTypeIdentifierLossOfTaste()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierMoodChanges

        public static java.lang.String HKCategoryTypeIdentifierMoodChanges()
        HKCategoryValuePresence
      • HKCategoryTypeIdentifierNausea

        public static java.lang.String HKCategoryTypeIdentifierNausea()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierPelvicPain

        public static java.lang.String HKCategoryTypeIdentifierPelvicPain()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat

        public static java.lang.String HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierRunnyNose

        public static java.lang.String HKCategoryTypeIdentifierRunnyNose()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierShortnessOfBreath

        public static java.lang.String HKCategoryTypeIdentifierShortnessOfBreath()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierSinusCongestion

        public static java.lang.String HKCategoryTypeIdentifierSinusCongestion()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierSkippedHeartbeat

        public static java.lang.String HKCategoryTypeIdentifierSkippedHeartbeat()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierSleepChanges

        public static java.lang.String HKCategoryTypeIdentifierSleepChanges()
        HKCategoryValuePresence
      • HKCategoryTypeIdentifierSoreThroat

        public static java.lang.String HKCategoryTypeIdentifierSoreThroat()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierVomiting

        public static java.lang.String HKCategoryTypeIdentifierVomiting()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierWheezing

        public static java.lang.String HKCategoryTypeIdentifierWheezing()
        HKCategoryValueSeverity
      • HKPredicateKeyPathAverageHeartRate

        public static java.lang.String HKPredicateKeyPathAverageHeartRate()
        Predicate Key Paths
      • HKPredicateKeyPathECGClassification

        public static java.lang.String HKPredicateKeyPathECGClassification()
      • HKPredicateKeyPathECGSymptomsStatus

        public static java.lang.String HKPredicateKeyPathECGSymptomsStatus()
      • HKFHIRResourceTypeCoverage

        public static java.lang.String HKFHIRResourceTypeCoverage()
      • HKFHIRResourceTypeMedicationRequest

        public static java.lang.String HKFHIRResourceTypeMedicationRequest()
      • HKQuantityTypeIdentifierWalkingSpeed

        public static java.lang.String HKQuantityTypeIdentifierWalkingSpeed()
        m/s, Discrete
      • HKQuantityTypeIdentifierWalkingDoubleSupportPercentage

        public static java.lang.String HKQuantityTypeIdentifierWalkingDoubleSupportPercentage()
        Scalar(Percent, 0.0 - 1.0), Discrete
      • HKQuantityTypeIdentifierWalkingAsymmetryPercentage

        public static java.lang.String HKQuantityTypeIdentifierWalkingAsymmetryPercentage()
        Scalar(Percent, 0.0 - 1.0), Discrete
      • HKQuantityTypeIdentifierWalkingStepLength

        public static java.lang.String HKQuantityTypeIdentifierWalkingStepLength()
        Length, Discrete
      • HKQuantityTypeIdentifierSixMinuteWalkTestDistance

        public static java.lang.String HKQuantityTypeIdentifierSixMinuteWalkTestDistance()
        Length, Discrete
      • HKQuantityTypeIdentifierStairAscentSpeed

        public static java.lang.String HKQuantityTypeIdentifierStairAscentSpeed()
        m/s, Discrete
      • HKQuantityTypeIdentifierStairDescentSpeed

        public static java.lang.String HKQuantityTypeIdentifierStairDescentSpeed()
        m/s), Discrete
      • HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent

        public static java.lang.String HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent()
        HKCategoryValueEnvironmentalAudioExposureEvent
      • HKCategoryTypeIdentifierHandwashingEvent

        public static java.lang.String HKCategoryTypeIdentifierHandwashingEvent()
        HKCategoryValue
      • HKCategoryTypeIdentifierBladderIncontinence

        public static java.lang.String HKCategoryTypeIdentifierBladderIncontinence()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierDrySkin

        public static java.lang.String HKCategoryTypeIdentifierDrySkin()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierHairLoss

        public static java.lang.String HKCategoryTypeIdentifierHairLoss()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierMemoryLapse

        public static java.lang.String HKCategoryTypeIdentifierMemoryLapse()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierNightSweats

        public static java.lang.String HKCategoryTypeIdentifierNightSweats()
        HKCategoryValueSeverity
      • HKCategoryTypeIdentifierVaginalDryness

        public static java.lang.String HKCategoryTypeIdentifierVaginalDryness()
        HKCategoryValueSeverity
      • HKCharacteristicTypeIdentifierActivityMoveMode

        public static java.lang.String HKCharacteristicTypeIdentifierActivityMoveMode()
        HKActivityMoveModeObject
      • HKClinicalTypeIdentifierCoverageRecord

        public static java.lang.String HKClinicalTypeIdentifierCoverageRecord()
      • HKFHIRReleaseDSTU2

        public static java.lang.String HKFHIRReleaseDSTU2()
        The "DSTU2" release: http://hl7.org/fhir/DSTU2/
      • HKFHIRReleaseR4

        public static java.lang.String HKFHIRReleaseR4()
        The "R4" release: http://hl7.org/fhir/R4/
      • HKFHIRReleaseUnknown

        public static java.lang.String HKFHIRReleaseUnknown()
        An unknown release
      • HKMetadataKeyAppleECGAlgorithmVersion

        public static java.lang.String HKMetadataKeyAppleECGAlgorithmVersion()
        [@constant] HKMetadataKeyAppleECGAlgorithmVersion Represents the ECG algorithm version that was used to generate a particular HKElectrocardiogram. The expected value type is an an NSNumber containing a HKAppleECGAlgorithmVersion value.
      • HKMetadataKeyDevicePlacementSide

        public static java.lang.String HKMetadataKeyDevicePlacementSide()
        [@constant] HKMetadataKeyDevicePlacementSide Represents the detected placement of the device during the bout of walking The expected value type is an NSNumber containing a HKDevicePlacementSide value. This key is expected to be written for Walking Aymmetry Percentage.
      • HKMetadataKeyBarometricPressure

        public static java.lang.String HKMetadataKeyBarometricPressure()
        [@constant] HKMetadataKeyBarometricPressure Represents the barometric pressure recorded at the time of a sample. The expected value type is an HKQuantity representing a value in units of pressure (atmospheres, pascals, millimeters of Mercury).
      • HKMetadataKeyAppleDeviceCalibrated

        public static java.lang.String HKMetadataKeyAppleDeviceCalibrated()
        [@constant] HKMetadataKeyAppleDeviceCalibrated Represents the calibration status of the devices used to generate this sample. The expected value is a boolean NSNumber indicating whether the sample value was estimated using a sufficient set of device calibration data. The calibration status of a device may vary per data type. This key is read-only.
      • HKCategoryTypeIdentifierHeadphoneAudioExposureEvent

        public static java.lang.String HKCategoryTypeIdentifierHeadphoneAudioExposureEvent()
        HKCategoryValueHeadphoneAudioExposureEvent
      • HKMetadataKeyAudioExposureDuration

        public static java.lang.String HKMetadataKeyAudioExposureDuration()
        [@constant] HKMetadataKeyAudioExposureDuration Represents the duration of time that is covered by audio samples. The expected value type is an HKQuantity object compatible with a time unit. This key may be set on headphone audio exposure event samples to indicate the duration of time that the user was actually exposed to audio through their headphones.