HealthKit · IOS API REFERENCE
HKStatisticsQuery
class · SDK 27.1
class HKStatisticsQuery
Members (1)
initinit
TypeScriptstatic init(quantityType: HKQuantityType, quantitySamplePredicate: (_Foundation_NSPredicate) | null, options: HKStatisticsOptions, handler: ((arg0: HKStatisticsQuery, arg1: (HKStatistics) | null, arg2: (NativeError) | null) => void)): HKStatisticsQuery
Swift declarationinit(quantityType: HKQuantityType, quantitySamplePredicate: NSPredicate?, options: HKStatisticsOptions = [], completionHandler handler: @escaping @Sendable (HKStatisticsQuery, HKStatistics?, (any Error)?) -> Void)
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
HKStatisticsQuery.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All HealthKit types →