QNConferencesRepository
public class QNConferencesRepository
This class provides a method to create conferences and retrieve conference log.
-
Add a new
QNConferencesDelegate
Declaration
Swift
public func add(delegate: QNConferencesDelegate)
Parameters
delegate
new delegate
-
Remove a
ConferencesDelegate
Declaration
Swift
public func remove(delegate: QNConferencesDelegate)
Parameters
delegate
delegate to removed
-
Add a new
ConferenceEntriesDelegate
Declaration
Swift
public func add(delegate: QNConferenceEntriesDelegate)
Parameters
delegate
new delegate
-
Remove a
ConferenceEntriesDelegate
Declaration
Swift
public func remove(delegate: QNConferenceEntriesDelegate)
Parameters
delegate
delegate to removed
-
Creates a new conference
Declaration
Swift
public func createConference(recording: Bool, isAttendedTransferConference: Bool, result: @escaping (Result<QNConferenceRepository, QNConferenceError>) -> Void)
Parameters
recording
Allow record conference
isAttendedTransferConference
Represents if new conference is an attended transfer
result
Result with QNConferenceRepository.
-
Create a conference or retrieve it if already exist
Declaration
Swift
public func conference(named name: String, result: @escaping (Result<QNConferenceRepository, QNConferenceError>) -> Void)
Parameters
uri
Conference name
result
Result with the conference
-
Retrieve conferences entries related with user
- If it is false, the order will be ascending. By default, the selected order is descending.
Declaration
Swift
public func conferencesEntries(before: Date? = nil, after: Date? = nil, limit: Int = 10, sortDescending: Bool = true, result: @escaping (Result<[QNConferenceEntry], ResourceError>) -> Void)
-
Check if the conference related to the specified invitationId is still pending.
Declaration
Swift
public func existAnyConferenceWithInvitation(invitationId id: String, result: @escaping (Result<Bool, QNConferenceError>) -> Void)
-
Starts a new attended transfer and hold participant
Declaration
Swift
public func transferAttendedConference(to: String, result: @escaping (Result<QNConferenceRepository, QNConferenceError>) -> Void)