Client

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

    See more

    Declaration

    Swift

    public class QNClient
  • Represent current server session state

    • new: Session has been created but not connected
    • connected: Session has been authenticated
    • disconnected: Session has been disconected
    • resume: Session has been resumed, this state is only reachable from suspend state
    • resuming: Session starts resume
    • suspend: Session has been suspendend, usually called when app goes to background
    • suspending: Session starts suspend
    • error: Error during first authentication

    Declaration

    Swift

    public enum QNServerState