Instance Property

predicate

A predicate used to filter the objects returned from the HealthKit store.

Declaration

var predicate: NSPredicate? { get }

Discussion

If the predicate is nil, the query does not filter its results. Instead, it returns all the objects matching the query’s other parameters.

See Also

Getting and Setting Properties

var sampleType: HKSampleType?

The type of objects being queried.

Deprecated
var objectType: HKObjectType?

The type of objects being queried.