One Logo Pool Ball
HealthKit · IOS API REFERENCE

HKQuantitySeriesSampleQueryDescriptor.Result

struct · iOS 15.4+ · SDK 27.1

struct Result

Members (3)

get · iOS 15.4+

dateInterval

TypeScript
get dateInterval(): _Foundation_DateInterval
Swift declaration
let dateInterval: DateInterval

The quantity's date interval.

get · iOS 15.4+

sample

TypeScript
get sample(): (HKQuantitySample) | null
Swift declaration
let sample: HKQuantitySample?

The quantity sample that owns the series containing the quantity. Set to nil unless `.includeSample` is included in the query descriptor's `options`.

get · iOS 15.4+

quantity

TypeScript
get quantity(): HKQuantity
Swift declaration
let quantity: HKQuantity

A quantity matching the query's predicate.

Skipped declarations

No declarations were skipped in this snapshot.

All HealthKit types →