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 SippoClient
  • Represents errors related to SippoClient

    • forbidden: forbidden
    • notFound: Resource requested (Contact, Chat…) not exists
    • wrongCredential: Wrong credential provided
    • actionNotAllowed: Action not allowed due to user permissions
    • internalError: Server/Network errors

    Declaration

    Swift

    public enum ClientError : Error
  • System permission not granted like camera or microphone

    • notGranted: Permission not accepted as argument

    Declaration

    Swift

    public enum PermissionError : Error
  • Represent current sippo 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 SippoServerState