增加换肤功能
This commit is contained in:
38
TUIKit/TUIRoomKit/Source/ConferenceSession.swift
Normal file
38
TUIKit/TUIRoomKit/Source/ConferenceSession.swift
Normal file
@@ -0,0 +1,38 @@
|
||||
//
|
||||
// ConferenceSession.swift
|
||||
// TUIRoomKit
|
||||
//
|
||||
// Created by CY zhao on 2024/8/9.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
@objcMembers public class ConferenceSession: NSObject {
|
||||
@objc public static let sharedInstance = ConferenceSession()
|
||||
let implementation = ConferenceSessionImp()
|
||||
|
||||
@objc public func addObserver(observer: ConferenceObserver) {
|
||||
implementation.addObserver(observer: observer)
|
||||
}
|
||||
|
||||
@objc public func removeObserver(observer: ConferenceObserver) {
|
||||
implementation.removeObserver(observer: observer)
|
||||
}
|
||||
|
||||
@objc public static func destroySharedInstance() {
|
||||
sharedInstance.implementation.destroy()
|
||||
}
|
||||
|
||||
@objc public func enableWaterMark() {
|
||||
implementation.enableWaterMark()
|
||||
}
|
||||
|
||||
@objc public func setWaterMarkText(waterMarkText: String) {
|
||||
implementation.setWaterMarkText(waterMarkText: waterMarkText)
|
||||
}
|
||||
|
||||
@objc public func setContactsViewProvider(_ provider: @escaping (ConferenceParticipants) -> ContactViewProtocol) {
|
||||
implementation.setContactsViewProvider(provider)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user