QNClient

public class QNClient

Entry point to create calls, listen to incoming calls and manage register/login. A reachable WAC and gateway is needed.

  • Struct to define log levels

    Declaration

    Swift

    public struct Logging
  • QNClient Options

    Declaration

    Swift

    public struct Options

Properties

  • QNClient instance

    Declaration

    Swift

    public private(set) static var client: QNClient! { get }
  • Service for login and logout logic

    Declaration

    Swift

    public lazy var sessions: QNSessions { get set }
  • Service to manage chats

    Declaration

    Swift

    public func chats() -> Result<QNChatsRepository, QNSDKError>
  • Service to manage conferences

    Declaration

    Swift

    public func conferences() -> Result<QNConferencesRepository, QNSDKError>
  • Service to get missedCalls

    Declaration

    Swift

    public func missedCalls() -> Result<QNMissedCallsRepository, QNSDKError>
  • Service to manage Contact logic like create or update contact and to subscribe for contact events

    Declaration

    Swift

    public func addressBooks() -> Result<QNAddressBooksRepository, QNSDKError>
  • Service to fetch user groups and receive group events like new group

    Declaration

    Swift

    public func groups() -> Result<QNGroupsRepository, QNSDKError>
  • Service to manage Presence logic like subscribe or update presence and to subscribe for presence events

    Declaration

    Swift

    public func presences() -> Result<QNPresencesRepository, QNSDKError>
  • Service for CRUD operation over Meetings

    Declaration

    Swift

    public func meetings() -> Result<QNMeetingsRepository, QNSDKError>

Api

  • Configure a new Session, if other Session exists, it’s still alive (logout is needed explicity)

    Declaration

    Swift

    public class func configure(
        with options: Options,
        onSuccess: @escaping (() -> Void),
        onFailure: @escaping ((Error) -> Void)
    )

    Parameters

    options

    Options to initialize SDK