HKQuantity
E853034
HKQuantity is a HealthKit class that represents a numeric health-related value paired with a specific unit, such as steps, heart rate, or calories.
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
HealthKit class
ⓘ
class ⓘ |
| associatedWith | HKUnit NERFINISHED ⓘ |
| canBeCreatedWith |
quantityWithUnit:
ⓘ
quantityWithUnit:doubleValue: ⓘ |
| conformsTo |
NSCopying
NERFINISHED
ⓘ
NSSecureCoding NERFINISHED ⓘ |
| definedIn | HealthKit framework NERFINISHED ⓘ |
| definedInModule | HealthKit NERFINISHED ⓘ |
| frameworkOwner | Apple NERFINISHED ⓘ |
| hasMethod |
compare:
ⓘ
description ⓘ doubleValueForUnit: ⓘ isCompatibleWithUnit: ⓘ |
| headerFile | HKQuantity.h ⓘ |
| immutable | true ⓘ |
| introducedInOS |
iOS 8.0
NERFINISHED
ⓘ
macOS 13.0 ⓘ watchOS 2.0 NERFINISHED ⓘ |
| language |
Objective-C
NERFINISHED
ⓘ
Swift NERFINISHED ⓘ |
| namespace | HealthKit NERFINISHED ⓘ |
| platform |
iOS
ⓘ
macOS ⓘ watchOS NERFINISHED ⓘ |
| represents | numeric health-related value ⓘ |
| requires | HKUnit ⓘ |
| supports |
comparison of quantities with compatible units
ⓘ
unit conversion via HKUnit ⓘ |
| threadSafety | generally thread-safe for read-only access ⓘ |
| usedFor |
VO2 max
ⓘ
blood glucose ⓘ blood pressure ⓘ body mass ⓘ body temperature ⓘ calories ⓘ dietary intake values ⓘ distance ⓘ energy ⓘ heart rate ⓘ respiratory rate ⓘ steps ⓘ |
| usedIn |
HealthKit data samples
ⓘ
health and fitness apps ⓘ |
| usedWith |
HKQuantitySample
ⓘ
HKQuantityType NERFINISHED ⓘ HKStatistics ⓘ HKWorkout NERFINISHED ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.