2026-07-05 21:58:20 +02:00
|
|
|
/// 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
|
2026-07-06 03:34:21 +02:00
|
|
|
/// Sends the paused recording for processing, like a press of the feature's send button.
|
|
|
|
|
case process
|
2026-07-05 21:58:20 +02:00
|
|
|
}
|