"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-5079/ios/sdk/src/callkit/JMCallKitListener.swift" (17 Jun 2021, 1255 Bytes) of package /linux/misc/jitsi-meet-5079.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Swift source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /*
    2  * Copyright @ 2018-present Atlassian Pty Ltd
    3  *
    4  * Licensed under the Apache License, Version 2.0 (the "License");
    5  * you may not use this file except in compliance with the License.
    6  * You may obtain a copy of the License at
    7  *
    8  *     http://www.apache.org/licenses/LICENSE-2.0
    9  *
   10  * Unless required by applicable law or agreed to in writing, software
   11  * distributed under the License is distributed on an "AS IS" BASIS,
   12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   13  * See the License for the specific language governing permissions and
   14  * limitations under the License.
   15  */
   16 
   17 import AVKit
   18 import CallKit
   19 import Foundation
   20 
   21 @objc public protocol JMCallKitListener: NSObjectProtocol {
   22 
   23     @objc optional func providerDidReset()
   24 
   25     @objc optional func performAnswerCall(UUID: UUID)
   26 
   27     @objc optional func performEndCall(UUID: UUID)
   28 
   29     @objc optional func performSetMutedCall(UUID: UUID, isMuted: Bool)
   30 
   31     @objc optional func performStartCall(UUID: UUID, isVideo: Bool)
   32 
   33     @objc optional func providerDidActivateAudioSession(session: AVAudioSession)
   34 
   35     @objc optional func providerDidDeactivateAudioSession(session: AVAudioSession)
   36 
   37     @objc optional func providerTimedOutPerformingAction(action: CXAction)
   38 }