mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 02:52:45 +02:00
Handle VoIP buttons when VB is used (#7225)
This commit is contained in:
+3
@@ -44,6 +44,9 @@ class VoiceBroadcastRecorderService: VoiceBroadcastRecorderServiceProtocol {
|
||||
// MARK: Public
|
||||
|
||||
weak var serviceDelegate: VoiceBroadcastRecorderServiceDelegate?
|
||||
var isRecording: Bool {
|
||||
return audioEngine.isRunning
|
||||
}
|
||||
|
||||
// MARK: - Setup
|
||||
|
||||
|
||||
+3
@@ -25,6 +25,9 @@ protocol VoiceBroadcastRecorderServiceProtocol {
|
||||
/// Service delegate
|
||||
var serviceDelegate: VoiceBroadcastRecorderServiceDelegate? { get set }
|
||||
|
||||
/// Returns if a voice broadcast is currently recording.
|
||||
var isRecording: Bool { get }
|
||||
|
||||
/// Start voice broadcast recording.
|
||||
func startRecordingVoiceBroadcast()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user