SwiftclassHealthPlatform

class HealthPlatform.HealthPlatformContextProvider.Context

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 30

  1. deinitdeinit
  2. fieldlet arbitrationRegistry: HealthPlatformFoundation.ArbitrationRegistry+0x38
  3. fieldlet coachingMonitor: HealthCoaching.CoachingMonitor?+0x30
  4. fieldlet experienceStore: HealthPlatform.HealthExperienceStore+0x40
  5. fieldlet healthStore: HKHealthStore+0x10
  6. fieldlet logger: os.Logger
  7. fieldlet notificationManager: HealthPlatform.HealthAppNotificationManager+0x20
  8. fieldlet pinnedContentManagerProvider: HealthPlatform.PinnedContentManagerProvider+0x18
  9. fieldlet primaryProfileHealthStore: HKHealthStore+0x28
  10. fieldlet protectedCachedSummarySharingTransactionBuilder: os.OSAllocatedUnfairLock<HealthPlatform.CachingSharedSummaryTransactionBuilder?>
  11. fieldlet transactionBuilderManager: HealthPlatform.OpenTransactionBuilderManager+0x68
  12. funcanchorStorage(for: HealthOrchestration.Planner) throws -> HealthOrchestration.AnchorStorage
  13. funcawakeningInputSignalRegistrar(for: HealthOrchestration.Planner, inputSignalSet: HealthOrchestration.InputSignalSet) throws -> HealthPlatform.AwakeningInputSignalPlatformRegistrar
  14. funccachedModelStorage(for: HealthOrchestration.Executor, sourceProfile: HealthPlatform.SourceProfile) throws -> HealthPlatform.CachedModelStorage
  15. funccachedModelStorage(for: String, sourceProfile: HealthPlatform.SourceProfile) throws -> HealthPlatform.CachedModelStorage
  16. funcfeedItemStorage(for: HealthOrchestration.Executor, bundleIdentifier: String, scope: NSPredicate) throws -> HealthPlatform.FeedItemStorage
  17. funcnotificationManager(for: HealthOrchestration.Executor) throws -> HealthPlatform.PluginNotificationManager
  18. funcsharableModelReadableStorage(for: String, transaction: HKSharedSummaryTransaction) throws -> HealthPlatform.SharableModelReadableStorage
  19. funcsharableModelStorage(for: String, completion: @Sendable (Result<HealthPlatform.SharableModelStorage, Error>) -> ()) -> ()
  20. funcsharedSummaryTransactionBuilder(completion: @Sendable (Result<HealthPlatform.CachingSharedSummaryTransactionBuilder, Error>) -> ()) -> ()
  21. funcsharingSummaryProfileTransactionBuilder(transaction: HKSharedSummaryTransaction) -> HealthPlatform.CachingSharedSummaryTransactionBuilder?
  22. initHealthPlatform.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
  23. typealiastypealias Description = Description
  24. typealiastypealias Identity = Identity
  25. varfinal var contextDescription: HealthPlatform.HealthPlatformContextProvider.Context.Description { get }
  26. varfinal var databaseAccessibilityProvider: HealthPlatform.DatabaseAccessibilityAssertionProviding? { get }
  27. varfinal var description: String { get }
  28. varfinal var identity: HealthPlatform.HealthPlatformContextProvider.Context.Identity { get }
  29. varfinal var optionalHealthStore: HKHealthStore? { get }
  30. varfinal var profileIdentifier: HKProfileIdentifier? { get }
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
}