mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Cleanup how we setup the CallKit provider and have it be used for outgoing calls as well (#2967)
- tear down ElementCall screens when ending the call from the CXCallController - make the call UI available in the task manager and lock screen - Fix broken hang up widget message format
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
import Combine
|
||||
|
||||
enum ElementCallServiceAction {
|
||||
case answerCall(roomID: String)
|
||||
case declineCall(roomID: String)
|
||||
case startCall(roomID: String)
|
||||
case endCall(roomID: String)
|
||||
}
|
||||
|
||||
enum ElementCallServiceNotificationKey: String {
|
||||
@@ -32,7 +32,7 @@ let ElementCallServiceNotificationDiscardDelta = 10.0
|
||||
protocol ElementCallServiceProtocol {
|
||||
var actions: AnyPublisher<ElementCallServiceAction, Never> { get }
|
||||
|
||||
func setupCallSession(title: String) async
|
||||
func setupCallSession(roomID: String, roomDisplayName: String) async
|
||||
|
||||
func tearDownCallSession()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user