Classes

The following classes are available globally.

  • This class helps to format well-formatted JSON-RPC in order to communicate with Verto protocol.

    See more

    Declaration

    Swift

    class VertoHelpers
  • Represent call-center Agent.

    See more

    Declaration

    Swift

    public class Agent
  • Represent each call that agent will pass or receive.

    See more

    Declaration

    Swift

    public class Call
  • Class that manage all the RTC part of the SDK. It is used to setup the RTC connection of the call, generate offer/answer and handle in-call actions (mute, speaker on/off).

    See more

    Declaration

    Swift

    class RTCClient : NSObject
    extension RTCClient: RTCClientDelegate
    extension RTCClient: RTCPeerConnectionDelegate
  • Subclass of ZiwoWebSocket that uses websockets to help the communication between the protocol Verto and iOS. The class listen all the websocket messages and parses the methods sent by Verto in order to notify the app. Through this class, the user is able to call an agent, receive a call from outside, mute his microphone, switch the audio source, put the call on hold.

    See more

    Declaration

    Swift

    public class VertoWebSocket : ZiwoWebSocket
    extension VertoWebSocket: WebSocketDelegate
  • ZiwoWebSocket is the parent class of DomainWebSocket and VertoWebSocket that contain the web socket of those two classes. It also have a boolean that can be set in the child classes to activate or deactivate the logs.

    See more

    Declaration

    Swift

    public class ZiwoWebSocket
  • ZiwoClient is the main class of the SDK. Through this class, the websocket that will be used to communicate with Verto will be initialized. The delegates will tell the developper when a call is received, when a call starts and when a call is terminated. It also provide informations about websocket that is linked to the Verto protocol.

    See more

    Declaration

    Swift

    public class ZiwoClient
    extension ZiwoClient: VertoWebSocketDelegate
  • The ZiwoSDK class is a singleton that is mainly use to retrieve Ziwo related datas once the Agent is logged.

    See more

    Declaration

    Swift

    public class ZiwoSDK