SwiftprotocolAppState
AppStateController
protocol AppState.AppStateController
Members 30
- func
method descriptor for canTransitionState(forApp: AppState.App, to: AppState.State) -> Bool - func
method descriptor for clearRemoteInstalled(forApp: AppState.App, refreshState: Bool) -> Bool - func
method descriptor for clearWaiting(forApp: AppState.App, refreshState: Bool) -> Bool - func
clearWaiting(forApp: AppState.App) -> Bool - func
method descriptor for isLocal(app: AppState.App) -> Bool - func
method descriptor for isRedownloadable(app: AppState.App, includingPreorders: Bool) -> Bool - func
method descriptor for isUpdateEnabled(app: AppState.App) -> Bool - func
method descriptor for loadDataSources() async throws -> () - func
method descriptor for postsChanges(forApp: AppState.App) -> Bool - func
method descriptor for preloadState(forApps: Set<AppState.App>) -> () - func
method descriptor for prospectiveState(forApp: AppState.App, applying: AppState.AppOffer) -> AppState.State - func
prospectiveState(forApp: AppState.App) -> AppState.State - func
method descriptor for purchaseHistoryIncludes(app: AppState.App) -> Bool - func
method descriptor for redownloadBuyParams(forApp: AppState.App) -> String? - func
method descriptor for refreshOverridingCompatibility(_: Bool, for: AppState.AdamID) -> () - func
refreshOverridingCompatibility(_: Bool, for: AppState.AdamID) -> () - func
method descriptor for refreshUpdateRegistry(forApp: AppState.App, with: AppState.AppOffer) async -> () - func
method descriptor for reloadAllStates(synchronizing: Bool) async throws -> () - func
method descriptor for reloadState(forApps: Set<AppState.App>, synchronizing: Bool) async throws -> () - func
method descriptor for setPostsChanges(_: Bool, forApp: AppState.App) -> () - func
method descriptor for setRemoteInstalled(forApp: AppState.App) -> Bool - func
method descriptor for setRemoteInstalled(forApp: AppState.App) -> () - func
method descriptor for setWaiting(forApp: AppState.App, installationType: AppState.AppInstallationType) -> Bool - func
method descriptor for state(forApp: AppState.App, initialState: AppState.State, applying: AppState.AppOffer) -> AppState.State - func
state(forApp: AppState.App, applying: AppState.AppOffer) -> AppState.State - func
state(forApp: AppState.App) -> AppState.State - func
method descriptor for transitionState(forApp: AppState.App, to: AppState.State) -> Bool - var
var isLoaded: Bool { get } - var
var onLoad: JetEngine.AsyncEvent<()> { get } - var
var onStateChange: JetEngine.AsyncEvent<(app: AppState.App, newState: AppState.State)> { get }
Header
protocol AppStateController { var isLoaded: Swift.Bool { get } var onLoad: JetEngine.AsyncEvent<()> { get } var onStateChange: JetEngine.AsyncEvent<(app: AppState.App, newState: AppState.State)> { get } func loadDataSources() async throws func reloadAllStates(synchronizing: Swift.Bool) async throws func reloadState(forApps: Swift.Set<AppState.App>, synchronizing: Swift.Bool) async throws func preloadState(forApps: Swift.Set<AppState.App>) func state(forApp: AppState.App, initialState: AppState.State, applying: AppState.AppOffer) -> AppState.State func prospectiveState(forApp: AppState.App, applying: AppState.AppOffer) -> AppState.State func canTransitionState(forApp: AppState.App, to: AppState.State) -> Swift.Bool func transitionState(forApp: AppState.App, to: AppState.State) -> Swift.Bool func postsChanges(forApp: AppState.App) -> Swift.Bool func setPostsChanges(_: Swift.Bool, forApp: AppState.App) func setWaiting(forApp: AppState.App, installationType: AppState.AppInstallationType) -> Swift.Bool func clearWaiting(forApp: AppState.App, refreshState: Swift.Bool) -> Swift.Bool func setRemoteInstalled(forApp: AppState.App) -> Swift.Bool func setRemoteInstalled(forApp: AppState.App) func clearRemoteInstalled(forApp: AppState.App, refreshState: Swift.Bool) -> Swift.Bool func refreshUpdateRegistry(forApp: AppState.App, with: AppState.AppOffer) async func isLocal(app: AppState.App) -> Swift.Bool func isRedownloadable(app: AppState.App, includingPreorders: Swift.Bool) -> Swift.Bool func redownloadBuyParams(forApp: AppState.App) -> Swift.String? func purchaseHistoryIncludes(app: AppState.App) -> Swift.Bool func isUpdateEnabled(app: AppState.App) -> Swift.Bool func refreshOverridingCompatibility(_: Swift.Bool, for: AppState.AdamID) } extension AppState.AppStateController { func prospectiveState(forApp: AppState.App) -> AppState.State func clearWaiting(forApp: AppState.App) -> Swift.Bool func refreshOverridingCompatibility(_: Swift.Bool, for: AppState.AdamID) func state(forApp: AppState.App, applying: AppState.AppOffer) -> AppState.State func state(forApp: AppState.App) -> AppState.State }