mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
cd411b57e0
* Listen to call decline to stop ringing when declined from other device * MSC4075 Use expirationTS to define the call ringing window * Implement ElementCallService tests. * Update acknowledgements.
18 lines
575 B
Swift
18 lines
575 B
Swift
//
|
|
// Copyright 2025 New Vector Ltd.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
// Please see LICENSE files in the repository root for full details.
|
|
//
|
|
|
|
import CallKit
|
|
|
|
// sourcery: AutoMockable
|
|
protocol CXProviderProtocol {
|
|
func setDelegate(_ delegate: CXProviderDelegate?, queue: DispatchQueue?)
|
|
func reportNewIncomingCall(with uuid: UUID, update: CXCallUpdate, completion: @escaping (Error?) -> Void)
|
|
func reportCall(with uuid: UUID, endedAt: Date?, reason: CXCallEndedReason)
|
|
}
|
|
|
|
extension CXProvider: CXProviderProtocol { }
|