Protocols

The following protocols are available globally.

  • The caller information provided by the platform in the push notification payload.

    See more

    Declaration

    Swift

    public protocol IncomingCallContext
  • The remote peer contact. For incoming call, application provides the conact via ContactResolverCallback block.

    See more

    Declaration

    Swift

    public protocol Contact
  • The client object may adopt this protocol to be notified on VoiceCall state change. To receive notification the client object should be registered at VoiceCall object as an observer.

    See more

    Declaration

    Swift

    public protocol VoiceCallStateObserverProtocol : AnyObject
  • The client object may adopt this protocol to monitor VoiceCall connection quality change. To receive notification the client object should be registered at VoiceCall object as an observer.

    See more

    Declaration

    Swift

    public protocol VoiceCallConnectionQualityObserverProtocol : AnyObject
  • The client object may adopt this protocol to observe the microphone state change. To receive notification the client object should be registered at VoiceCall object as an observer.

    See more

    Declaration

    Swift

    public protocol VoiceCallMutedStateObserverProtocol : AnyObject
  • The client object may adopt this protocol to observe the call object content change. To receive notification the client object should be registered at VoiceCall object as an observer.

    See more

    Declaration

    Swift

    public protocol VoiceCallObserverProtocol: VoiceCallStateObserverProtocol,
                                               VoiceCallConnectionQualityObserverProtocol
  • The call object interface.

    See more

    Declaration

    Swift

    public protocol VoiceCall : AnyObject
  • The client object may adopt this protocol to be notified on SDK state change. To receive notification the client object should be registered at VoiceSDK object as an observer.

    See more

    Declaration

    Swift

    public protocol VoiceSDKObserverProtocol : AnyObject
  • The client object may adopt this protocol to observe the calls property change. To receive notification the client object should be registered at VoiceSDK object as an observer.

    See more

    Declaration

    Swift

    public protocol CallSetObserverProtocol : AnyObject
  • The client object may adopt this protocol to monitor the network reachability status. To receive notification the client object should be registered at VoiceSDK object as an observer.

    See more

    Declaration

    Swift

    public protocol NetworkReachabilityObserverProtocol : AnyObject
  • The client object may adopt this protocol to observe the push notification token change. To receive notification the client object should be registered at VoiceSDK object as an observer.

    See more

    Declaration

    Swift

    public protocol PushNotificationObserverProtocol : AnyObject