SINCallDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | SINCall.h |
Overview
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:
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:
– callDidEnd:
Tells the delegate that the call ended.
- (void)callDidEnd:(id<SINCall>)callParameters
call |
The call that ended. |
|---|
Discussion
The call has entered the SINCallStateEnded state.
See Also
Declared In
SINCall.h
– callDidProgress:
Tells the delegate that the outgoing call is progressing and a progress tone can be played.
- (void)callDidProgress:(id<SINCall>)callParameters
call |
The outgoing call to the client on the other end. |
|---|
Discussion
The call has entered the SINCallStateProgressing state.
See Also
Declared In
SINCall.h
– callDidEstablish:
Tells the delegate that the call was established.
- (void)callDidEstablish:(id<SINCall>)callParameters
call |
The call that was established. |
|---|
Discussion
The call has entered the SINCallStateEstablished state.
See Also
Declared In
SINCall.h
– call:shouldSendPushNotifications:
Tells the delegate that the callee device can’t be reached directly, and it is required to wake up the callee’s application with a push notification.
- (void)call:(id<SINCall>)call shouldSendPushNotifications:(NSArray *)pushPairsParameters
call |
The call that requires the delegate to send an push notification to the callee device. |
|---|---|
pushPairs |
Array of SINPushPair. Each pair identififies a certain device that should be requested to be woken up via push notification. The push data entries are equal to what the receiver’s application passed to the method [SINClient registerPushNotificationData:]. |
See Also
Declared In
SINCall.h
– callDidAddVideoTrack:
Tells the delegate that a video track has been added to the call.
(A delegate can use SINVideoController to manage rendering views.)
- (void)callDidAddVideoTrack:(id<SINCall>)callSee Also
Declared In
SINCall.h