SwiftclassHealthPlatform
class HealthPlatform.HealthPlatformContextProvider.Context
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolHealthCoaching.CoachableContext
- protocolHealthOrchestration.WorkContext
- protocolSwift.CustomStringConvertible
Members 30
- deinit
deinit - field
let arbitrationRegistry: HealthPlatformFoundation.ArbitrationRegistry+0x38 - field
let coachingMonitor: HealthCoaching.CoachingMonitor?+0x30 - field
let experienceStore: HealthPlatform.HealthExperienceStore+0x40 - field
let healthStore: HKHealthStore+0x10 - field
let logger: os.Logger - field
let notificationManager: HealthPlatform.HealthAppNotificationManager+0x20 - field
let pinnedContentManagerProvider: HealthPlatform.PinnedContentManagerProvider+0x18 - field
let primaryProfileHealthStore: HKHealthStore+0x28 - field
let protectedCachedSummarySharingTransactionBuilder: os.OSAllocatedUnfairLock<HealthPlatform.CachingSharedSummaryTransactionBuilder?> - field
let transactionBuilderManager: HealthPlatform.OpenTransactionBuilderManager+0x68 - func
anchorStorage(for: HealthOrchestration.Planner) throws -> HealthOrchestration.AnchorStorage - func
awakeningInputSignalRegistrar(for: HealthOrchestration.Planner, inputSignalSet: HealthOrchestration.InputSignalSet) throws -> HealthPlatform.AwakeningInputSignalPlatformRegistrar - func
cachedModelStorage(for: HealthOrchestration.Executor, sourceProfile: HealthPlatform.SourceProfile) throws -> HealthPlatform.CachedModelStorage - func
cachedModelStorage(for: String, sourceProfile: HealthPlatform.SourceProfile) throws -> HealthPlatform.CachedModelStorage - func
feedItemStorage(for: HealthOrchestration.Executor, bundleIdentifier: String, scope: NSPredicate) throws -> HealthPlatform.FeedItemStorage - func
notificationManager(for: HealthOrchestration.Executor) throws -> HealthPlatform.PluginNotificationManager - func
sharableModelReadableStorage(for: String, transaction: HKSharedSummaryTransaction) throws -> HealthPlatform.SharableModelReadableStorage - func
sharableModelStorage(for: String, completion: @Sendable (Result<HealthPlatform.SharableModelStorage, Error>) -> ()) -> () - func
sharedSummaryTransactionBuilder(completion: @Sendable (Result<HealthPlatform.CachingSharedSummaryTransactionBuilder, Error>) -> ()) -> () - func
sharingSummaryProfileTransactionBuilder(transaction: HKSharedSummaryTransaction) -> HealthPlatform.CachingSharedSummaryTransactionBuilder? - init
HealthPlatform.HealthPlatformContextProvider.Context.__allocating_init(healthStore: HKHealthStore, primaryProfileHealthStore: HKHealthStore, healthExperienceStore: HealthPlatform.HealthExperienceStore, pinnedContentManagerProvider: HealthPlatform.PinnedContentManagerProvider, notificationManager: HealthPlatform.HealthAppNotificationManager, transactionBuilderManager: HealthPlatform.OpenTransactionBuilderManager, guidanceTemplateProviders: [HealthCoaching.GuidanceTemplateProviderProviding], coachingMonitor: HealthCoaching.CoachingMonitor?, arbitrationRegistry: HealthPlatformFoundation.ArbitrationRegistry, logger: os.Logger) -> HealthPlatform.HealthPlatformContextProvider.Context - typealias
typealias Description = Description - typealias
typealias Identity = Identity - var
final var contextDescription: HealthPlatform.HealthPlatformContextProvider.Context.Description { get } - var
final var databaseAccessibilityProvider: HealthPlatform.DatabaseAccessibilityAssertionProviding? { get } - var
final var description: String { get } - var
final var identity: HealthPlatform.HealthPlatformContextProvider.Context.Identity { get } - var
final var optionalHealthStore: HKHealthStore? { get } - var
final var profileIdentifier: HKProfileIdentifier? { get }
Header
class HealthPlatform.HealthPlatformContextProvider.Context { enum Errors { case missingBundleIdentifier case unexpectedTransaction } struct Identity { let profileIdentifier: __C.HKProfileIdentifier } struct Description { enum CodingKeys { case profileIdentifier } var profileIdentifier: __C.HKProfileIdentifier init(profileIdentifier: __C.HKProfileIdentifier) } let healthStore: __C.HKHealthStore let pinnedContentManagerProvider: HealthPlatform.PinnedContentManagerProvider let notificationManager: HealthPlatform.HealthAppNotificationManager let primaryProfileHealthStore: __C.HKHealthStore let coachingMonitor: HealthCoaching.CoachingMonitor? let arbitrationRegistry: HealthPlatformFoundation.ArbitrationRegistry let experienceStore: any HealthPlatform.HealthExperienceStore let transactionBuilderManager: HealthPlatform.OpenTransactionBuilderManager let protectedCachedSummarySharingTransactionBuilder: os.OSAllocatedUnfairLock<HealthPlatform.CachingSharedSummaryTransactionBuilder?> let logger: os.Logger init(healthStore: __C.HKHealthStore, primaryProfileHealthStore: __C.HKHealthStore, healthExperienceStore: any HealthPlatform.HealthExperienceStore, pinnedContentManagerProvider: HealthPlatform.PinnedContentManagerProvider, notificationManager: HealthPlatform.HealthAppNotificationManager, transactionBuilderManager: HealthPlatform.OpenTransactionBuilderManager, guidanceTemplateProviders: [any HealthCoaching.GuidanceTemplateProviderProviding], coachingMonitor: HealthCoaching.CoachingMonitor?, arbitrationRegistry: HealthPlatformFoundation.ArbitrationRegistry, logger: os.Logger) final var contextDescription: HealthPlatform.HealthPlatformContextProvider.Context.Description { get } final var databaseAccessibilityProvider: (any HealthPlatform.DatabaseAccessibilityAssertionProviding)? { get } final var description: Swift.String { get } final var identity: HealthPlatform.HealthPlatformContextProvider.Context.Identity { get } final var optionalHealthStore: __C.HKHealthStore? { get } final var profileIdentifier: __C.HKProfileIdentifier? { get } final func anchorStorage(for: any HealthOrchestration.Planner) throws -> any HealthOrchestration.AnchorStorage final func feedItemStorage(for: any HealthOrchestration.Executor, bundleIdentifier: Swift.String, scope: __C.NSPredicate) throws -> any HealthPlatform.FeedItemStorage final func cachedModelStorage(for: any HealthOrchestration.Executor, sourceProfile: HealthPlatform.SourceProfile) throws -> any HealthPlatform.CachedModelStorage final func cachedModelStorage(for: Swift.String, sourceProfile: HealthPlatform.SourceProfile) throws -> any HealthPlatform.CachedModelStorage final func notificationManager(for: any HealthOrchestration.Executor) throws -> any HealthPlatform.PluginNotificationManager final func sharableModelStorage(for: Swift.String, completion: @escaping @Sendable (_: Swift.Result<any HealthPlatform.SharableModelStorage, any Swift.Error>) -> ()) final func sharableModelReadableStorage(for: Swift.String, transaction: __C.HKSharedSummaryTransaction) throws -> any HealthPlatform.SharableModelReadableStorage final func awakeningInputSignalRegistrar(for: any HealthOrchestration.Planner, inputSignalSet: HealthOrchestration.InputSignalSet) throws -> HealthPlatform.AwakeningInputSignalPlatformRegistrar final func sharedSummaryTransactionBuilder(completion: @escaping @Sendable (_: Swift.Result<HealthPlatform.CachingSharedSummaryTransactionBuilder, any Swift.Error>) -> ()) final func sharingSummaryProfileTransactionBuilder(transaction: __C.HKSharedSummaryTransaction) -> HealthPlatform.CachingSharedSummaryTransactionBuilder? deinit }