Created the Commanding package target in the Features package for controlling the recording flow from Live Activities.
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user