8 lines
393 B
Swift
8 lines
393 B
Swift
/// 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
|
|
}
|