Added the recording flow reporting and command listening on the RecordingViewModel view model in the Recording package target.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import Foundation
|
||||
|
||||
/// The reporting service used for development, which swallows the reported lifecycle of the recording flow.
|
||||
///
|
||||
/// The service is internal on purpose: it only backs the feature's previews and the default values of its model, and is not part of the
|
||||
/// package's public interface.
|
||||
struct DummyReporting: Reporting {
|
||||
|
||||
// MARK: Methods
|
||||
|
||||
/// Swallows the start of a new recording.
|
||||
func started(at anchor: Date) async {}
|
||||
|
||||
/// Swallows the pause of the ongoing recording.
|
||||
func paused(elapsed: TimeInterval) async {}
|
||||
|
||||
/// Swallows the resumption of a paused recording.
|
||||
func resumed(anchor: Date) async {}
|
||||
|
||||
/// Swallows the processing of the recorded input.
|
||||
func processing(elapsed: TimeInterval) async {}
|
||||
|
||||
/// Swallows the end of the recording flow.
|
||||
func ended() async {}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user