mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
New voice message recording mode (#2051)
* Lock voice message recording * Use the VoiceMessageCache to store the recording file * Rework on some composer toolbar buttons * Update accessibility labels for voice message recording button * PreviewTests
This commit is contained in:
@@ -22,6 +22,9 @@ enum VoiceMessageCacheError: Error {
|
||||
}
|
||||
|
||||
protocol VoiceMessageCacheProtocol {
|
||||
/// URL to use for recording
|
||||
var urlForRecording: URL { get }
|
||||
|
||||
/// Returns the URL of the cached audio file for a given media source
|
||||
/// - Parameter mediaSource: the media source
|
||||
/// - Returns: the URL of the cached audio file or nil if the file doesn't exist
|
||||
|
||||
Reference in New Issue
Block a user