HealthKit · IOS API REFERENCE
HKSourceQuery
class · SDK 27.1
class HKSourceQuery
Members (1)
initinit
TypeScriptstatic init(sampleType: HKSampleType, objectPredicate: (_Foundation_NSPredicate) | null, completionHandler: ((arg0: HKSourceQuery, arg1: (Array<HKSource>) | null, arg2: (NativeError) | null) => void)): HKSourceQuery
Swift declarationinit(sampleType: HKSampleType, samplePredicate objectPredicate: NSPredicate?, completionHandler: @escaping @Sendable (HKSourceQuery, Set<HKSource>?, (any Error)?) -> Void)
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
HKSourceQuery.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All HealthKit types →