Hook up CallKit lock screen muting controls to the ElementCall widget

This commit is contained in:
Stefan Ceriu
2024-06-27 14:33:16 +03:00
committed by Stefan Ceriu
parent 2cce310540
commit d16ba9f3ef
6 changed files with 108 additions and 8 deletions
@@ -19,6 +19,7 @@ import Combine
enum ElementCallServiceAction {
case startCall(roomID: String)
case endCall(roomID: String)
case setCallMuted(_ muted: Bool, roomID: String)
}
enum ElementCallServiceNotificationKey: String {
@@ -35,4 +36,6 @@ protocol ElementCallServiceProtocol {
func setupCallSession(roomID: String, roomDisplayName: String) async
func tearDownCallSession()
func setCallMuted(_ muted: Bool, roomID: String)
}