QNConferencesRepository

public class QNConferencesRepository

This class provides a method to create conferences and retrieve conference log.

Delegates

Api

  • Creates a new conference

    Declaration

    Swift

    public func createConference(recording: Bool,
                                 isAttendedTransferConference: Bool,
                                 result: @escaping (Result<QNConferenceRepository, QNSDKError>) -> 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, QNSDKError>) -> 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], QNSDKError>) -> 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, QNSDKError>) -> Void)
  • Check if exist any conference with this participant.

    Declaration

    Swift

    public func existAnyConferenceWithParticipant(participantId: String) -> Bool

    Return Value

    Bool with value true if exist any conference with this participant.

  • Starts a new attended transfer and hold participant

    Declaration

    Swift

    public func transferAttendedConference(to: String, result: @escaping (Result<QNConferenceRepository, QNSDKError>) -> Void)