SINCallDelegate
Objective-C
@protocol SINCallDelegate <NSObject>Swift
protocol SINCallDelegate : NSObjectProtocolThe delegate of a SINCall object must adopt the SINCallDelegate 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:
- callDidEstablish:
- callDidEnd:
For a complete incoming call, the delegate methods will be called
 in the following order, after the client delegate method
 [SINClientDelegate client:didReceiveIncomingCall:] has been called:
- callDidEstablish:
- callDidEnd:- Important Thread safety notes: Should be called on main thread/main GCD queue.
- 
                  
                  Tells the delegate that the call ended. The call has entered the SINCallStateEndedstate.See Important Thread safety notes: Should be called on main thread/main GCD queue. DeclarationObjective-C - (void)callDidEnd:(id<SINCall>)call;Swift optional func callDidEnd(_ call: SINCall!)ParameterscallThe call that ended. 
- 
                  
                  Tells the delegate that the outgoing call is progressing and a progress tone can be played. The call has entered the SINCallStateProgressingstate.See Important Thread safety notes: Should be called on main thread/main GCD queue. DeclarationObjective-C - (void)callDidProgress:(id<SINCall>)call;Swift optional func callDidProgress(_ call: SINCall!)ParameterscallThe outgoing call to the client on the other end. 
- 
                  
                  Tells the delegate that the call was established. The call has entered the SINCallStateEstablishedstate.See Important Thread safety notes: Should be called on main thread/main GCD queue. DeclarationObjective-C - (void)callDidEstablish:(id<SINCall>)call;Swift optional func callDidEstablish(_ call: SINCall!)ParameterscallThe call that was established. 
- 
                  
                  Tells the delegate that a video track has been added to the call. (A delegate can use SINVideoControllerto manage rendering views.)Important Thread safety notes: Should be called on main thread/main GCD queue. 
- 
                  
                  Tells the delegate that a video track has been paused in the call. (A delegate can use SINVideoControllerto manage rendering views.)Important Thread safety notes: Should be called on main thread/main GCD queue. 
- 
                  
                  Tells the delegate that a video track has been resumed in the call. (A delegate can use SINVideoControllerto manage rendering views.)Important Thread safety notes: Should be called on main thread/main GCD queue. 
 SINCallDelegate Protocol Reference
        SINCallDelegate Protocol Reference