Protocols
The following protocols are available globally.
-
Represents events of Call This protocol must be conformed by classes which uses CPCallService
Since
1.0.0Declaration
Objective-C
@protocol CPCallApplicationDelegate <NSObject>
Swift
protocol CPCallApplicationDelegate : NSObjectProtocol
-
Declaration
Objective-C
@protocol CPCallDelegate <NSObject>
Swift
protocol CPCallDelegate : NSObjectProtocol
-
Declaration
Objective-C
@protocol CPIncomingCallDelegate <CPCallDelegate>
Swift
protocol CPIncomingCallDelegate : CPCallDelegate
-
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 moreDeclaration
Objective-C
@protocol CPLoggingDelegate <NSObject>
Swift
protocol CPLoggingDelegate : NSObjectProtocol
-
Notifies when connection status or any relevant change is happened in Authentication.
Since
1.0.0Declaration
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 moreDeclaration
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 moreDeclaration
Swift
@objc public protocol CPSmsDelegate
-
Informs about the change on the Presence Activities
See moreDeclaration
Swift
@objc public protocol CPPresenceDelegate