Protocols
The following protocols are available globally.
-
The delegate of a SinchAudioController object must adopt the SinchAudioControllerDelegate protocol. The methods handle audio related state changes.
See moreDeclaration
Swift
public protocol SinchAudioControllerDelegate : AnyObject -
The delegate of a SinchCall object must adopt the SinchCallDelegate protocol. The required methods handle call state changes.
Call State Progression
For a complete outgoing call, the delegate methods will be called in the following order:
callDidProgress:callDidRing:- `callDidAnswer:
callDidEstablish:callDidEnd:
For a complete incoming call, the delegate methods will be called in the following order, after the client delegate method
SinchClientDelegate client:didReceiveIncomingCall:has been called:- `callDidAnswer:
callDidEstablish:callDidEnd:
Declaration
Swift
public protocol SinchCallDelegate : AnyObject -
SinchCallClient delegate protocol
See moreDeclaration
Swift
public protocol SinchCallClientDelegate : AnyObject -
The delegate of a SinchClient object must adopt the SinchClientDelegate protocol. The required methods allows responding to client state changes (start and stop), and providing user registration credentials (JWT).
See moreDeclaration
Swift
public protocol SinchClientDelegate : AnyObject -
Delegate of SinchManagedPush
See moreDeclaration
Swift
public protocol SinchManagedPushDelegate : AnyObject -
Protocol that should be adopted by video frame callback
See moreDeclaration
Swift
public protocol SinchVideoFrameCallback : AnyObject
Protocols Reference