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>)call

Parameters

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>)call

Parameters

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>)call

Parameters

call

The call that was established.

Discussion

The call has entered the SINCallStateEstablished state.

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>)call

Declared In

SINCall.h