HKQuantitySample
E240730
HKQuantitySample is a HealthKit class representing a single measured quantity (such as steps, heart rate, or distance) along with its unit and time interval.
All labels observed (1)
| Label | Occurrences |
|---|---|
| HKQuantitySample canonical | 1 |
Statements (51)
| Predicate | Object |
|---|---|
| instanceOf |
HKSample subclass
ⓘ
HealthKit class ⓘ NSObject subclass ⓘ |
| associatedWith |
HKQuantity
ⓘ
HKQuantityType ⓘ HKUnit ⓘ |
| category | health data sample ⓘ |
| conformsTo |
NSCopying
ⓘ
NSSecureCoding ⓘ |
| definedIn | HealthKit framework ⓘ |
| frameworkOwner |
Apple Inc.
ⓘ
surface form:
Apple
|
| hasInitializer |
+quantitySampleWithType:quantity:startDate:endDate:
ⓘ
+quantitySampleWithType:quantity:startDate:endDate:metadata: ⓘ -initWithType:quantity:startDate:endDate:metadata: ⓘ |
| hasProperty |
device
ⓘ
endDate ⓘ metadata ⓘ quantity ⓘ quantityType ⓘ sourceRevision ⓘ startDate ⓘ |
| header | HealthKit/HKQuantitySample.h ⓘ |
| immutable | yes ⓘ |
| inheritsFrom |
NSObject
ⓘ
surface form:
HKObject
HKSample ⓘ NSObject ⓘ |
| introducedIn |
iOS
ⓘ
surface form:
iOS 8.0
macOS 13.0 ⓘ watchOS ⓘ
surface form:
watchOS 2.0
|
| language |
Objective-C
ⓘ
Swift ⓘ |
| platform |
iOS
ⓘ
macOS ⓘ watchOS ⓘ |
| represents | single measured quantity ⓘ |
| retrievedVia | HKHealthStore ⓘ |
| storedIn |
HealthKit framework
ⓘ
surface form:
HealthKit store
|
| supports |
HKDevice association
ⓘ
HKSourceRevision association ⓘ metadata dictionary ⓘ |
| threadSafety | not thread-safe for mutation ⓘ |
| timeInterval | startDate to endDate ⓘ |
| usedFor |
blood glucose
ⓘ
blood pressure ⓘ body mass ⓘ distance ⓘ energy burned ⓘ environmental measurements ⓘ heart rate ⓘ respiratory rate ⓘ steps ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.
subject surface form:
HealthKit