HKSample
E853033
HKSample is a fundamental HealthKit class that represents a generic piece of health-related data, serving as the base type for more specific sample subclasses like quantity and category samples.
Statements (52)
| Predicate | Object |
|---|---|
| instanceOf |
HealthKit class
ⓘ
abstract base class ⓘ health data model object ⓘ |
| canBeQueriedBy |
HKAnchoredObjectQuery
NERFINISHED
ⓘ
HKObserverQuery ⓘ HKSampleQuery ⓘ HKStatisticsCollectionQuery ⓘ HKStatisticsQuery ⓘ |
| conformsTo |
NSCopying
NERFINISHED
ⓘ
NSSecureCoding ⓘ |
| definedIn | HealthKit framework NERFINISHED ⓘ |
| definedInModule | HealthKit NERFINISHED ⓘ |
| frameworkOwner | Apple Inc. NERFINISHED ⓘ |
| hasCharacteristic |
immutable after saving to HealthKit store
ⓘ
time-bounded health data ⓘ |
| hasProperty |
HKSampleType
ⓘ
UUID ⓘ UUIDString ⓘ bundleIdentifier ⓘ device ⓘ endDate ⓘ metadata ⓘ sampleType ⓘ sourceRevision ⓘ startDate ⓘ syncIdentifier ⓘ syncVersion ⓘ |
| hasPropertyType |
HKDevice for device
ⓘ
HKSampleType for sampleType ⓘ HKSourceRevision for sourceRevision ⓘ NSDate for endDate ⓘ NSDate for startDate ⓘ NSDictionary for metadata ⓘ |
| inheritsFrom | HKObject ⓘ |
| introducedIn | iOS 8.0 NERFINISHED ⓘ |
| isSuperclassOf |
HKAudiogramSample
NERFINISHED
ⓘ
HKCategorySample ⓘ HKClinicalRecord ⓘ HKCorrelation ⓘ HKQuantitySample NERFINISHED ⓘ HKWorkout ⓘ HKWorkoutRoute NERFINISHED ⓘ |
| language |
Objective-C
NERFINISHED
ⓘ
Swift NERFINISHED ⓘ |
| platform |
Apple iOS
NERFINISHED
ⓘ
macOS ⓘ watchOS NERFINISHED ⓘ |
| represents | generic piece of health-related data ⓘ |
| role | base type for specific HealthKit samples ⓘ |
| usedFor |
querying health data via HKQuery subclasses
ⓘ
storing health data samples in HealthKit store ⓘ |
| usedWith | HKHealthStore NERFINISHED ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.