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

How this entity was disambiguated

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
linked to: Apple Inc.
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 HKObject
linked to: NSObject

HKSample
NSObject
introducedIn iOS 8.0
linked to: iOS

macOS 13.0
watchOS 2.0
linked to: watchOS
language Objective-C
Swift
platform iOS
macOS
watchOS
represents single measured quantity
retrievedVia HKHealthStore
storedIn HealthKit store
linked to: HealthKit framework
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

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

HealthKit dataModel HKQuantitySample
subject linked to: HealthKit framework