desktop_updater_platform_interface library

Classes

AtomicAfterExitNativeInstallRecovery
Recovery capability for helpers that must resolve recovery after caller exit.
DesktopUpdaterPlatform
Platform interface implemented by macOS, Windows, and Linux helpers.
NativeInstallRecovery
Sealed native recovery capability exposed by each platform implementation.
QueryAndRecoverNativeInstallRecovery
Recovery capability for helpers that support read-only query plus recover.
VerifiedNativeInstallRequest
Opaque typed native install request created only by this library.

Functions

dispatchVerifiedInstall({required UpdateClient session, required UpdateStageResult stageResult, required PersistedInstallTransaction persistedTransaction}) Future<void>
Claims a verified stage and dispatches the resulting typed request.
verifiedNativeInstallRequestFromStage({required UpdateClient session, required UpdateStageResult stageResult, required PersistedInstallTransaction receipt}) Future<VerifiedNativeInstallRequest>
Claims a staged result and receipt for exactly one native dispatch.

Typedefs

NativeInstallStatusOperation = Future<NativeInstallTransactionStatus?> Function(String transactionId)
Native helper status operation used by typed recovery capabilities.