Files
attendi/Packages/Features/Sources/Commanding/Commands/RecordingCommand.swift
T

10 lines
504 B
Swift
Raw Normal View History

/// 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
/// Sends the paused recording for processing, like a press of the feature's send button.
case process
}