Implemented the resumed interrupted recordings and allowed processing discards on the RecordingViewModel view model in the Recording package target.

This commit is contained in:
2026-07-05 16:16:53 +02:00
parent 8576d6bac6
commit c2ac476257
14 changed files with 563 additions and 309 deletions
@@ -36,6 +36,9 @@ public protocol Preinstalling: Sendable {
// MARK: - Events
/// An event emitted by a ``Preinstalling`` service while preinstalling speech model assets.
///
/// Every case carries the locale the preinstallation was requested for not its supported equivalent so a host can match the
/// event against the locale it passed to ``Preinstalling/preinstall(for:)``.
public enum PreinstallingEvent: Sendable {
/// The download of the locale's speech model assets was cancelled before it finished.
case cancelled(Locale)