SwiftstructHealthKitAdditions
StatisticsCollectionPublisher
struct HKHealthStore.StatisticsCollectionPublisher
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolCombine.Publisher
Members 6
- func
static makeQuery(with: HKHealthStore.StatisticsCollectionPublisher.Configuration, outputHandler: @Sendable (HealthKitAdditions.HKQueryPublisherResult<HKHealthStore.StatisticsCollectionPublisher.Output>) -> ()) -> HKQuery - field
let configuration: HKHealthStore.StatisticsCollectionPublisher.Configuration - field
let healthStore: HKHealthStore - typealias
typealias Configuration = (extension in HealthKitAdditions):__C.Configuration - typealias
typealias Failure = Swift.Error - typealias
typealias Output = (extension in HealthKitAdditions):__C.Output
Header
struct StatisticsCollectionPublisher { struct Output { let updatedStatistics: __C.HKStatistics? let statisticsCollection: __C.HKStatisticsCollection } struct Configuration { let sampleType: __C.HKSampleType let predicate: __C.NSPredicate? let options: __C.HKStatisticsOptions let anchorDate: Foundation.Date let intervalComponents: Foundation.DateComponents let dateInterval: Foundation.DateInterval? let receivesUpdates: Swift.Bool let cacheSettings: __C.HKStatisticsCollectionCacheSettings? let debugIdentifier: Swift.String } let configuration: __C.HKHealthStore.StatisticsCollectionPublisher.Configuration let healthStore: __C.HKHealthStore static func makeQuery(with: __C.HKHealthStore.StatisticsCollectionPublisher.Configuration, outputHandler: @escaping @Sendable (_: HealthKitAdditions.HKQueryPublisherResult<__C.HKHealthStore.StatisticsCollectionPublisher.Output>) -> ()) -> __C.HKQuery }