Instance Property


The sample type.


@NSCopying var sampleType: HKSampleType { get }


This property contains a concrete sample type that corresponds with this sample’s concrete class. For example, if the sample is an HKQuantitySample instance, it returns an HKQuantityType object.

See Also

Accessing the Sample’s Data

var startDate: Date

The sample’s start date.

var endDate: Date

The sample’s end date.