Created the Commanding package target in the Features package for controlling the recording flow from Live Activities.

This commit is contained in:
2026-07-05 21:58:20 +02:00
parent cbb5703751
commit d473504d75
7 changed files with 171 additions and 0 deletions
@@ -0,0 +1,7 @@
/// A command that controls the recording flow from outside the feature's own UI for example, from the buttons of a Live Activity.
public enum RecordingCommand: Equatable, Sendable {
/// Starts, pauses, or resumes the recording, like a press of the feature's main button.
case toggle
/// Discards the recording, like a press of the feature's discard button.
case discard
}