Protocols

The following protocols are available globally.

  • Represents events of Call This protocol must be conformed by classes which uses CPCallService

    Since

    1.0.0
    See more

    Declaration

    Objective-C

    @protocol CPCallApplicationDelegate <NSObject>

    Swift

    protocol CPCallApplicationDelegate : NSObjectProtocol
  • Call related resources

    Since

    1.0.0
    See more

    Declaration

    Objective-C

    @protocol CPCallDelegate <NSObject>

    Swift

    protocol CPCallDelegate : NSObjectProtocol
  • Call object, which is used for incoming calls.

    Since

    1.0.0
    See more

    Declaration

    Objective-C

    @protocol CPIncomingCallDelegate <CPCallDelegate>

    Swift

    protocol CPIncomingCallDelegate : CPCallDelegate
  • Call object, which is used for outgoing calls.

    Since

    1.0.0
    See more

    Declaration

    Objective-C

    @protocol CPOutgoingCallDelegate <CPCallDelegate>

    Swift

    protocol CPOutgoingCallDelegate : CPCallDelegate
  • Utility class for LoggingDelegate. The application using the SDK must implement this delegate and assign an instance of this implementation to Logger property in the Configuration through the application’s startup flow.

    See more

    Declaration

    Objective-C

    @protocol CPLoggingDelegate <NSObject>

    Swift

    protocol CPLoggingDelegate : NSObjectProtocol
  • Notifies when connection status or any relevant change is happened in Authentication.

    Since

    1.0.0
    See more

    Declaration

    Swift

    @objc
    public protocol CPAuthenticationDelegate : NSObjectProtocol
  • An application should implement a class using this protocol and assign an instance of the class as the chatService object’s delegate in order to receive notification related to chat messaging.

    See more

    Declaration

    Swift

    @objc
    public protocol CPChatDelegate
  • An application should implement a class using this protocol and assign an instance of the class as the smsService object’s delegate in order to receive notification related to SMS messaging.

    See more

    Declaration

    Swift

    @objc
    public protocol CPSmsDelegate
  • Informs about the change on the Presence Activities

    See more

    Declaration

    Swift

    @objc
    public protocol CPPresenceDelegate