SwiftprotocolJetEngine

protocol JetEngine.AccountProvider

Members 6

  1. funcstatic JetEngine.AccountProvider< where A == ACAccountStore>.appleServices(forMediaType: AMSAccountMediaType?) -> ACAccountStore
  2. varstatic var appleServices: ACAccountStore { get }
  3. funcmethod descriptor for account(forUserID: String) -> JetEngine.Account?
  4. funcaccount(forUserID: String) -> JetEngine.Account?
  5. varvar activeAccount: JetEngine.Account? { get }
  6. varvar onActiveAccountChange: any JetEngine.EventEmitter<Self.Event == JetEngine.AccountProviderActiveAccountChange> { get }
protocol AccountProvider {
    var activeAccount: JetEngine.Account? {
        get
    }
    var onActiveAccountChange: any JetEngine.EventEmitter<JetEngine.AccountProviderActiveAccountChange> {
        get
    }

    func account(forUserID: Swift.String) -> JetEngine.Account?
}
extension JetEngine.AccountProvider where Self == __C.ACAccountStore {
    static var appleServices: __C.ACAccountStore {
        get
    }
}
extension JetEngine.AccountProvider {
    var onActiveAccountChange: any JetEngine.EventEmitter<JetEngine.AccountProviderActiveAccountChange> {
        get
    }

    func account(forUserID: Swift.String) -> JetEngine.Account?

    static func appleServices(forMediaType: __C.AMSAccountMediaType?) -> __C.ACAccountStore where Self == __C.ACAccountStore
}