Package apple.healthkit.c
Class HealthKit
- java.lang.Object
-
- apple.healthkit.c.HealthKit
-
public final class HealthKit extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longHKObjectQueryNoLimitThe query returns all samples that match the given sampleType and predicate.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringHKCategoryTypeIdentifierAbdominalCramps()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierAcne()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierAppetiteChanges()HKCategoryValueAppetiteChangesstatic java.lang.StringHKCategoryTypeIdentifierAppleStandHour()HKCategoryValueAppleStandHourstatic java.lang.StringHKCategoryTypeIdentifierAudioExposureEvent()HKCategoryValueAudioExposureEventstatic java.lang.StringHKCategoryTypeIdentifierBladderIncontinence()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierBloating()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierBreastPain()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierCervicalMucusQuality()HKCategoryValueCervicalMucusQualitystatic java.lang.StringHKCategoryTypeIdentifierChestTightnessOrPain()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierChills()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierConstipation()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierCoughing()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierDiarrhea()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierDizziness()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierDrySkin()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierEnvironmentalAudioExposureEvent()HKCategoryValueEnvironmentalAudioExposureEventstatic java.lang.StringHKCategoryTypeIdentifierFainting()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierFatigue()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierFever()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierGeneralizedBodyAche()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierHairLoss()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierHandwashingEvent()HKCategoryValuestatic java.lang.StringHKCategoryTypeIdentifierHeadache()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierHeadphoneAudioExposureEvent()HKCategoryValueHeadphoneAudioExposureEventstatic java.lang.StringHKCategoryTypeIdentifierHeartburn()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierHighHeartRateEvent()HKCategoryValuestatic java.lang.StringHKCategoryTypeIdentifierHotFlashes()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierIntermenstrualBleeding()(Spotting) HKCategoryValuestatic java.lang.StringHKCategoryTypeIdentifierIrregularHeartRhythmEvent()HKCategoryValuestatic java.lang.StringHKCategoryTypeIdentifierLossOfSmell()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierLossOfTaste()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierLowerBackPain()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierLowHeartRateEvent()HKCategoryValuestatic java.lang.StringHKCategoryTypeIdentifierMemoryLapse()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierMenstrualFlow()HKCategoryValueMenstrualFlowstatic java.lang.StringHKCategoryTypeIdentifierMindfulSession()HKCategoryValuestatic java.lang.StringHKCategoryTypeIdentifierMoodChanges()HKCategoryValuePresencestatic java.lang.StringHKCategoryTypeIdentifierNausea()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierNightSweats()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierOvulationTestResult()HKCategoryValueOvulationTestResultstatic java.lang.StringHKCategoryTypeIdentifierPelvicPain()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierRunnyNose()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierSexualActivity()HKCategoryValuestatic java.lang.StringHKCategoryTypeIdentifierShortnessOfBreath()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierSinusCongestion()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierSkippedHeartbeat()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierSleepAnalysis()HKCategoryValueSleepAnalysisstatic java.lang.StringHKCategoryTypeIdentifierSleepChanges()HKCategoryValuePresencestatic java.lang.StringHKCategoryTypeIdentifierSoreThroat()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierToothbrushingEvent()HKCategoryValuestatic java.lang.StringHKCategoryTypeIdentifierVaginalDryness()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierVomiting()HKCategoryValueSeveritystatic java.lang.StringHKCategoryTypeIdentifierWheezing()HKCategoryValueSeveritystatic java.lang.StringHKCharacteristicTypeIdentifierActivityMoveMode()HKActivityMoveModeObjectstatic java.lang.StringHKCharacteristicTypeIdentifierBiologicalSex()HKBiologicalSexObjectstatic java.lang.StringHKCharacteristicTypeIdentifierBloodType()HKBloodTypeObjectstatic java.lang.StringHKCharacteristicTypeIdentifierDateOfBirth()NSDateComponentsstatic java.lang.StringHKCharacteristicTypeIdentifierFitzpatrickSkinType()HKFitzpatrickSkinTypeObjectstatic java.lang.StringHKCharacteristicTypeIdentifierWheelchairUse()HKWheelchairUseObjectstatic java.lang.StringHKClinicalTypeIdentifierAllergyRecord()static java.lang.StringHKClinicalTypeIdentifierConditionRecord()static java.lang.StringHKClinicalTypeIdentifierCoverageRecord()static java.lang.StringHKClinicalTypeIdentifierImmunizationRecord()static java.lang.StringHKClinicalTypeIdentifierLabResultRecord()static java.lang.StringHKClinicalTypeIdentifierMedicationRecord()static java.lang.StringHKClinicalTypeIdentifierProcedureRecord()static java.lang.StringHKClinicalTypeIdentifierVitalSignRecord()static java.lang.StringHKCorrelationTypeIdentifierBloodPressure()static java.lang.StringHKCorrelationTypeIdentifierFood()static java.lang.StringHKDataTypeIdentifierHeartbeatSeries()static java.lang.StringHKDetailedCDAValidationErrorKey()[@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.static java.lang.StringHKDevicePropertyKeyFirmwareVersion()[@constant] HKDevicePropertyKeyFirmwareVersion Used with predicateForObjectsWithDeviceProperty to specify a firmware version.static java.lang.StringHKDevicePropertyKeyHardwareVersion()[@constant] HKDevicePropertyKeyHardwareVersion Used with predicateForObjectsWithDeviceProperty to specify a hardware version.static java.lang.StringHKDevicePropertyKeyLocalIdentifier()[@constant] HKDevicePropertyKeyLocalIdentifier Used with predicateForObjectsWithDeviceProperty to specify a local identifier.static java.lang.StringHKDevicePropertyKeyManufacturer()[@constant] HKDevicePropertyKeyManufacturer Used with predicateForObjectsWithDeviceProperty to specify a device manufacturer.static java.lang.StringHKDevicePropertyKeyModel()[@constant] HKDevicePropertyKeyModel Used with predicateForObjectsWithDeviceProperty to specify a device model.static java.lang.StringHKDevicePropertyKeyName()[@constant] HKDevicePropertyKeyName Used with predicateForObjectsWithDeviceProperty to specify a device name.static java.lang.StringHKDevicePropertyKeySoftwareVersion()[@constant] HKDevicePropertyKeySoftwareVersion Used with predicateForObjectsWithDeviceProperty to specify a software version.static java.lang.StringHKDevicePropertyKeyUDIDeviceIdentifier()[@constant] HKDevicePropertyKeyUDIDeviceIdentifier Used with predicateForObjectsWithDeviceProperty to specify a UDI device identifier.static java.lang.StringHKDocumentTypeIdentifierCDA()static java.lang.StringHKErrorDomain()static java.lang.StringHKFHIRReleaseDSTU2()The "DSTU2" release: http://hl7.org/fhir/DSTU2/static java.lang.StringHKFHIRReleaseR4()The "R4" release: http://hl7.org/fhir/R4/static java.lang.StringHKFHIRReleaseUnknown()An unknown releasestatic java.lang.StringHKFHIRResourceTypeAllergyIntolerance()static java.lang.StringHKFHIRResourceTypeCondition()static java.lang.StringHKFHIRResourceTypeCoverage()static java.lang.StringHKFHIRResourceTypeImmunization()static java.lang.StringHKFHIRResourceTypeMedicationDispense()static java.lang.StringHKFHIRResourceTypeMedicationOrder()static java.lang.StringHKFHIRResourceTypeMedicationRequest()static java.lang.StringHKFHIRResourceTypeMedicationStatement()static java.lang.StringHKFHIRResourceTypeObservation()static java.lang.StringHKFHIRResourceTypeProcedure()static java.lang.StringHKMetadataKeyAlpineSlopeGrade()[@constant] HKMetadataKeyAlpineSlopeGrade Represents the grade of a ski run.static java.lang.StringHKMetadataKeyAppleDeviceCalibrated()[@constant] HKMetadataKeyAppleDeviceCalibrated Represents the calibration status of the devices used to generate this sample.static java.lang.StringHKMetadataKeyAppleECGAlgorithmVersion()[@constant] HKMetadataKeyAppleECGAlgorithmVersion Represents the ECG algorithm version that was used to generate a particular HKElectrocardiogram.static java.lang.StringHKMetadataKeyAudioExposureDuration()[@constant] HKMetadataKeyAudioExposureDuration Represents the duration of time that is covered by audio samples.static java.lang.StringHKMetadataKeyAudioExposureLevel()[@constant] HKMetadataKeyAudioExposureLevel Represents the audio level associated with an audio event.static java.lang.StringHKMetadataKeyAverageMETs()[@constant] HKMetadataKeyAverageMETs Represents the average METs, or Metabolic Equivalent of Task during a workout.static java.lang.StringHKMetadataKeyAverageSpeed()[@constant] HKMetadataKeyAverageSpeed Represents the average speed for a workout segment or distance sample.static java.lang.StringHKMetadataKeyBarometricPressure()[@constant] HKMetadataKeyBarometricPressure Represents the barometric pressure recorded at the time of a sample.static java.lang.StringHKMetadataKeyBloodGlucoseMealTime()[@constant] HKMetadataKeyBloodGlucoseMealTime Indicates the relative timing of a blood glucose reading to a meal.static java.lang.StringHKMetadataKeyBodyTemperatureSensorLocation()[@constant] HKMetadataKeyBodyTemperatureSensorLocation Represents the location where a particular body temperature reading was taken.static java.lang.StringHKMetadataKeyCoachedWorkout()[@constant] HKMetadataKeyCoachedWorkout Represents whether or not a workout was performed with a coach or personal trainer.static java.lang.StringHKMetadataKeyCrossTrainerDistance()[@constant] HKMetadataKeyCrossTrainerDistance Represents the distance covered during a cross trainer workout.static java.lang.StringHKMetadataKeyDeviceManufacturerName()[@constant] HKMetadataKeyDeviceManufacturerName Represents the name of the manufacturer of the device that took the reading.static java.lang.StringHKMetadataKeyDeviceName()[@constant] HKMetadataKeyDeviceName Represents the name of the device that took the reading.static java.lang.StringHKMetadataKeyDevicePlacementSide()[@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.static java.lang.StringHKMetadataKeyDeviceSerialNumber()[@constant] HKMetadataKeyUDIProductionIdentifier Represents the serial number of the device that created the HKObject.static java.lang.StringHKMetadataKeyDigitalSignature()[@constant] HKMetadataKeyDigitalSignature Represents a digital signature validating the origin of an HKObject's value.static java.lang.StringHKMetadataKeyElevationAscended()[@constant] HKMetadataKeyElevationAscended Represents the cumulative elevation ascent during a workout.static java.lang.StringHKMetadataKeyElevationDescended()[@constant] HKMetadataKeyElevationDescended Represents the cumulative elevation descent during a workout.static java.lang.StringHKMetadataKeyExternalUUID()[@constant] HKMetadataKeyExternalUUID Represents a unique identifier for an HKObject that is set by its source.static java.lang.StringHKMetadataKeyFitnessMachineDuration()[@constant] HKMetadataKeyFitnessMachineDuration Represents the workout duration as displayed by a GymKit connected fitness machine.static java.lang.StringHKMetadataKeyFoodType()[@constant] HKMetadataKeyFoodType Represents the type of food that was consumed when creating an HKObject.static java.lang.StringHKMetadataKeyGroupFitness()[@constant] HKMetadataKeyGroupFitness Represents whether or not a workout was performed as part of a group fitness class.static java.lang.StringHKMetadataKeyHeartRateEventThreshold()[@constant] HKMetadataKeyHeartRateEventThreshold Represents the threshold heart rate that triggered a heart rate event.static java.lang.StringHKMetadataKeyHeartRateMotionContext()[@constant] HKMetadataKeyHeartRateMotionContext Represents the context in which a particular heart rate reading was taken.static java.lang.StringHKMetadataKeyHeartRateSensorLocation()[@constant] HKMetadataKeyHeartRateSensorLocation Represents the location where a particular heart rate reading was taken.static java.lang.StringHKMetadataKeyIndoorBikeDistance()[@constant] HKMetadataKeyIndoorBikeDistance Represents the distance covered during an indoor bike workout.static java.lang.StringHKMetadataKeyIndoorWorkout()[@constant] HKMetadataKeyIndoorWorkout Represents whether or not a workout was performed indoors as opposed to outdoors.static java.lang.StringHKMetadataKeyInsulinDeliveryReason()[@constant] HKMetadataKeyInsulinDeliveryReason Represents the medical reason for the delivery of an insulin dose.static java.lang.StringHKMetadataKeyLapLength()[@constant] HKMetadataKeyLapLength Represents the length of a lap recorded during a workout.static java.lang.StringHKMetadataKeyMaximumSpeed()[@constant] HKMetadataKeyMaximumSpeed Represents the maximum speed for a workout segment or distance sample.static java.lang.StringHKMetadataKeyMenstrualCycleStart()[@constant] HKMetadataKeyMenstrualCycleStart Indicates whether or not the sample represents the start of a menstrual cycle.static java.lang.StringHKMetadataKeyReferenceRangeLowerLimit()[@constant] HKMetadataKeyReferenceRangeLowerLimit Represents the lower limit of the reference range for a lab result.static java.lang.StringHKMetadataKeyReferenceRangeUpperLimit()[@constant] HKMetadataKeyReferenceRangeUpperLimit Represents the upper limit of the reference range for a lab result.static java.lang.StringHKMetadataKeySexualActivityProtectionUsed()[@constant] HKMetadataKeySexualActivityProtectionUsed Represents whether or not protection was used during sexual activity.static java.lang.StringHKMetadataKeySwimmingLocationType()[@constant] HKMetadataKeySwimmingLocationType Represents the location type of a swimming workout.static java.lang.StringHKMetadataKeySwimmingStrokeStyle()[@constant] HKMetadataKeySwimmingStrokeStyle Represents the predominant stroke style during a lap of a swimming workout.static java.lang.StringHKMetadataKeySyncIdentifier()[@constant] HKMetadataKeySyncIdentifier Represents an identifier for an HKObject that is set by its source and is used by HealthKit to uniquely identify an object.static java.lang.StringHKMetadataKeySyncVersion()[@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.static java.lang.StringHKMetadataKeyTimeZone()[@constant] HKMetadataKeyTimeZone Represents the time zone that the user was in when the HKObject was created.static java.lang.StringHKMetadataKeyUDIDeviceIdentifier()[@constant] HKMetadataKeyUDIDeviceIdentifier Represents the device identifier portion of a device's UDI (Unique Device Identifier).static java.lang.StringHKMetadataKeyUDIProductionIdentifier()[@constant] HKMetadataKeyUDIProductionIdentifier Represents the production identifier portion of a device's UDI (Unique Device Identifier).static java.lang.StringHKMetadataKeyVO2MaxTestType()[@constant] HKMetadataKeyVO2MaxTestType Represents the test used to create VO2 Max Sample The expected value type is an NSNumber containing a HKVO2MaxTestType value.static java.lang.StringHKMetadataKeyWasTakenInLab()[@constant] HKMetadataKeyWasTakenInLab Represents whether or not the reading was taken in a lab.static java.lang.StringHKMetadataKeyWasUserEntered()[@constant] HKMetadataKeyWasUserEntered Represents whether or not the reading was entered by the user.static java.lang.StringHKMetadataKeyWeatherCondition()[@constant] HKMetadataKeyWeatherCondition Represents the weather condition during the sample.static java.lang.StringHKMetadataKeyWeatherHumidity()[@constant] HKMetadataKeyHumidity Represents the weather humidity during the sample.static java.lang.StringHKMetadataKeyWeatherTemperature()[@constant] HKMetadataKeyWeatherTemperature Represents the weather temperature during the sample.static java.lang.StringHKMetadataKeyWorkoutBrandName()[@constant] HKMetadataKeyWorkoutBrandName Represents the brand name of a particular workout.static java.lang.StringHKPredicateKeyPathAverage()static java.lang.StringHKPredicateKeyPathAverageHeartRate()Predicate Key Pathsstatic java.lang.StringHKPredicateKeyPathCategoryValue()[@constant] HKPredicateKeyPathCategoryValuestatic java.lang.StringHKPredicateKeyPathCDAAuthorName()[@constant] HKPredicateKeyPathCDAAuthorNamestatic java.lang.StringHKPredicateKeyPathCDACustodianName()[@constant] HKPredicateKeyPathCDACustodianNamestatic java.lang.StringHKPredicateKeyPathCDAPatientName()[@constant] HKPredicateKeyPathCDAPatientNamestatic java.lang.StringHKPredicateKeyPathCDATitle()[@constant] HKPredicateKeyPathCDATitlestatic java.lang.StringHKPredicateKeyPathClinicalRecordFHIRResourceIdentifier()static java.lang.StringHKPredicateKeyPathClinicalRecordFHIRResourceType()static java.lang.StringHKPredicateKeyPathCorrelation()static java.lang.StringHKPredicateKeyPathCount()static java.lang.StringHKPredicateKeyPathDateComponents()Predicate Key Pathsstatic java.lang.StringHKPredicateKeyPathDevice()static java.lang.StringHKPredicateKeyPathECGClassification()static java.lang.StringHKPredicateKeyPathECGSymptomsStatus()static java.lang.StringHKPredicateKeyPathEndDate()static java.lang.StringHKPredicateKeyPathMax()static java.lang.StringHKPredicateKeyPathMetadata()static java.lang.StringHKPredicateKeyPathMin()Predicate Key Pathsstatic java.lang.StringHKPredicateKeyPathMostRecent()static java.lang.StringHKPredicateKeyPathMostRecentDuration()static java.lang.StringHKPredicateKeyPathMostRecentEndDate()static java.lang.StringHKPredicateKeyPathMostRecentStartDate()static java.lang.StringHKPredicateKeyPathQuantity()Predicate Key Pathsstatic java.lang.StringHKPredicateKeyPathSource()static java.lang.StringHKPredicateKeyPathSourceRevision()static java.lang.StringHKPredicateKeyPathStartDate()Predicate Key Pathsstatic java.lang.StringHKPredicateKeyPathSum()Predicate Key Pathsstatic java.lang.StringHKPredicateKeyPathUUID()Predicate Key Pathsstatic java.lang.StringHKPredicateKeyPathWorkout()static java.lang.StringHKPredicateKeyPathWorkoutDuration()Predicate Key Pathsstatic java.lang.StringHKPredicateKeyPathWorkoutTotalDistance()static java.lang.StringHKPredicateKeyPathWorkoutTotalEnergyBurned()static java.lang.StringHKPredicateKeyPathWorkoutTotalFlightsClimbed()static java.lang.StringHKPredicateKeyPathWorkoutTotalSwimmingStrokeCount()static java.lang.StringHKPredicateKeyPathWorkoutType()static java.lang.StringHKQuantityTypeIdentifierActiveEnergyBurned()Energy, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierAppleExerciseTime()Time Cumulativestatic java.lang.StringHKQuantityTypeIdentifierAppleStandTime()Time, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierBasalBodyTemperature()Basal Body Temperature, Discretestatic java.lang.StringHKQuantityTypeIdentifierBasalEnergyBurned()Energy, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierBloodAlcoholContent()Scalar(Percent, 0.0 - 1.0), Discretestatic java.lang.StringHKQuantityTypeIdentifierBloodGlucose()Mass/Volume, Discretestatic java.lang.StringHKQuantityTypeIdentifierBloodPressureDiastolic()Pressure, Discretestatic java.lang.StringHKQuantityTypeIdentifierBloodPressureSystolic()Pressure, Discretestatic java.lang.StringHKQuantityTypeIdentifierBodyFatPercentage()Scalar(Percent, 0.0 - 1.0), Discretestatic java.lang.StringHKQuantityTypeIdentifierBodyMass()Mass, Discretestatic java.lang.StringHKQuantityTypeIdentifierBodyMassIndex()Scalar(Count), Discretestatic java.lang.StringHKQuantityTypeIdentifierBodyTemperature()Temperature, Discretestatic java.lang.StringHKQuantityTypeIdentifierDietaryBiotin()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryCaffeine()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryCalcium()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryCarbohydrates()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryChloride()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryCholesterol()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryChromium()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryCopper()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryEnergyConsumed()Energy, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryFatMonounsaturated()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryFatPolyunsaturated()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryFatSaturated()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryFatTotal()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryFiber()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryFolate()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryIodine()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryIron()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryMagnesium()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryManganese()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryMolybdenum()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryNiacin()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryPantothenicAcid()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryPhosphorus()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryPotassium()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryProtein()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryRiboflavin()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietarySelenium()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietarySodium()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietarySugar()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryThiamin()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryVitaminA()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryVitaminB12()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryVitaminB6()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryVitaminC()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryVitaminD()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryVitaminE()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryVitaminK()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryWater()Volume, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDietaryZinc()Mass, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDistanceCycling()Length, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDistanceDownhillSnowSports()Length, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDistanceSwimming()Length, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDistanceWalkingRunning()Length, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierDistanceWheelchair()Length, Cumulativestatic java.lang.StringHKQuantityTypeIdentifierElectrodermalActivity()Conductance, Discretestatic java.lang.StringHKQuantityTypeIdentifierEnvironmentalAudioExposure()Pressure, DiscreteEquivalentContinuousLevelstatic java.lang.StringHKQuantityTypeIdentifierFlightsClimbed()Scalar(Count), Cumulativestatic java.lang.StringHKQuantityTypeIdentifierForcedExpiratoryVolume1()Volume, Discretestatic java.lang.StringHKQuantityTypeIdentifierForcedVitalCapacity()Volume, Discretestatic java.lang.StringHKQuantityTypeIdentifierHeadphoneAudioExposure()Pressure, DiscreteEquivalentContinuousLevelstatic java.lang.StringHKQuantityTypeIdentifierHeartRate()Scalar(Count)/Time, Discretestatic java.lang.StringHKQuantityTypeIdentifierHeartRateVariabilitySDNN()Time (ms), Discretestatic java.lang.StringHKQuantityTypeIdentifierHeight()Length, Discretestatic java.lang.StringHKQuantityTypeIdentifierInhalerUsage()Scalar(Count), Cumulativestatic java.lang.StringHKQuantityTypeIdentifierInsulinDelivery()Pharmacology (IU) Cumulativestatic java.lang.StringHKQuantityTypeIdentifierLeanBodyMass()Mass, Discretestatic java.lang.StringHKQuantityTypeIdentifierNikeFuel()Scalar(Count), Cumulativestatic java.lang.StringHKQuantityTypeIdentifierNumberOfTimesFallen()Scalar(Count), Cumulativestatic java.lang.StringHKQuantityTypeIdentifierOxygenSaturation()Scalar(Percent, 0.0 - 1.0), Discretestatic java.lang.StringHKQuantityTypeIdentifierPeakExpiratoryFlowRate()Volume/Time, Discretestatic java.lang.StringHKQuantityTypeIdentifierPeripheralPerfusionIndex()Scalar(Percent, 0.0 - 1.0), Discretestatic java.lang.StringHKQuantityTypeIdentifierPushCount()Scalar(Count), Cumulativestatic java.lang.StringHKQuantityTypeIdentifierRespiratoryRate()Scalar(Count)/Time, Discretestatic java.lang.StringHKQuantityTypeIdentifierRestingHeartRate()Scalar(Count)/Time, Discretestatic java.lang.StringHKQuantityTypeIdentifierSixMinuteWalkTestDistance()Length, Discretestatic java.lang.StringHKQuantityTypeIdentifierStairAscentSpeed()m/s, Discretestatic java.lang.StringHKQuantityTypeIdentifierStairDescentSpeed()m/s), Discretestatic java.lang.StringHKQuantityTypeIdentifierStepCount()Scalar(Count), Cumulativestatic java.lang.StringHKQuantityTypeIdentifierSwimmingStrokeCount()Scalar(Count), Cumulativestatic java.lang.StringHKQuantityTypeIdentifierUVExposure()Scalar(Count), Discretestatic java.lang.StringHKQuantityTypeIdentifierVO2Max()ml/(kg*min) Discretestatic java.lang.StringHKQuantityTypeIdentifierWaistCircumference()Length, Discretestatic java.lang.StringHKQuantityTypeIdentifierWalkingAsymmetryPercentage()Scalar(Percent, 0.0 - 1.0), Discretestatic java.lang.StringHKQuantityTypeIdentifierWalkingDoubleSupportPercentage()Scalar(Percent, 0.0 - 1.0), Discretestatic java.lang.StringHKQuantityTypeIdentifierWalkingHeartRateAverage()Scalar(Count)/Time, Discretestatic java.lang.StringHKQuantityTypeIdentifierWalkingSpeed()m/s, Discretestatic java.lang.StringHKQuantityTypeIdentifierWalkingStepLength()Length, Discretestatic java.lang.StringHKSampleSortIdentifierEndDate()static java.lang.StringHKSampleSortIdentifierStartDate()Sort Identifiersstatic NSOperatingSystemVersionHKSourceRevisionAnyOperatingSystem()static java.lang.StringHKSourceRevisionAnyProductType()static java.lang.StringHKSourceRevisionAnyVersion()Constants to match on any value of that property when querying for samples from an HKSourceRevisionstatic java.lang.StringHKUserPreferencesDidChangeNotification()[@constant] HKUserPreferencesDidChangeNotification A notification posted every time the user updates their preferred units.static java.lang.StringHKWorkoutRouteTypeIdentifier()-------------------------------- HKSeriesSample Identifiers --------------------------------static java.lang.StringHKWorkoutSortIdentifierDuration()Sort Identifiersstatic java.lang.StringHKWorkoutSortIdentifierTotalDistance()static java.lang.StringHKWorkoutSortIdentifierTotalEnergyBurned()static java.lang.StringHKWorkoutSortIdentifierTotalFlightsClimbed()static java.lang.StringHKWorkoutSortIdentifierTotalSwimmingStrokeCount()static java.lang.StringHKWorkoutTypeIdentifier()------------------------------ HKWorkoutType Identifier ------------------------------
-
-
-
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()
-
HKSourceRevisionAnyOperatingSystem
public static NSOperatingSystemVersion HKSourceRevisionAnyOperatingSystem()
-
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.
-
-