SINCallDelegate
Objective-C
@protocol SINCallDelegate <NSObject>
Swift
protocol SINCallDelegate : NSObjectProtocol
The 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:
-
Tells the delegate that the outgoing call is progressing and a progress tone can be played.
The call has entered the
SINCallStateProgressing
state.See
Declaration
Objective-C
- (void)callDidProgress:(id<SINCall>)call;
Swift
optional func callDidProgress(_ call: SINCall!)
Parameters
call
The outgoing call to the client on the other end.
-
Tells the delegate that a video track has been added to the call. (A delegate can use
SINVideoController
to manage rendering views.) -
Tells the delegate that a video track has been paused in the call. (A delegate can use
SINVideoController
to manage rendering views.) -
Tells the delegate that a video track has been resumed in the call. (A delegate can use
SINVideoController
to manage rendering views.)