Implemented the resumed interrupted recordings and allowed processing discards on the RecordingViewModel view model in the Recording package target.
This commit is contained in:
@@ -47,7 +47,9 @@ public extension Capturing {
|
||||
// MARK: - Events
|
||||
|
||||
/// An event emitted by a ``Capturing`` service outside its method calls.
|
||||
public enum CapturingEvent: Sendable {
|
||||
public enum CapturingEvent: Equatable, Sendable {
|
||||
/// The system interrupted the ongoing capture, pausing it.
|
||||
case interrupted
|
||||
/// The system ended the interruption of the capture, hinting whether the capture may resume right away.
|
||||
case interruptionEnded(shouldResume: Bool)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user