SMIncomingCallDelegate Protocol Reference

Conforms to SMCallDelegate
Declared in SMIncomingCallDelegate.h

– getCustomSIPHeaders required method

Gets custom SIP headers which comes from incoming call notification.

- (NSDictionary *)getCustomSIPHeaders

Return Value

NSDictionary which contains custom SIP headers if exist

Availability

4.4.5 @updated 5.0.0

Declared In

SMIncomingCallDelegate.h

– canReject required method

Indicates if the call can be rejected or not

- (BOOL)canReject

Return Value

YES if the call can be rejected otherwise returns NO

Availability

2.0.0

Declared In

SMIncomingCallDelegate.h

– acceptCall: required method

Accepts the incoming call

- (void)acceptCall:(BOOL)isVideoEnabled

Parameters

isVideoEnabled

indicates if video is allowed or not

Availability

2.0.0

Declared In

SMIncomingCallDelegate.h

– acceptCall:withCustomParameters: required method

Accepts the incoming call and sends the given custom SIP headers to SPiDR server.

- (void)acceptCall:(BOOL)isVideoEnabled withCustomParameters:(NSDictionary *)customParameters

Parameters

isVideoEnabled

indicates if video is allowed or not

customParameters

key-value pairs of custom SIP headers to send

Availability

4.5.0

Declared In

SMIncomingCallDelegate.h

– ignoreCall required method

Ignores the incoming call

- (void)ignoreCall

Availability

2.0.0

Declared In

SMIncomingCallDelegate.h

– rejectCall required method

Rejects the incoming call

- (void)rejectCall

Availability

2.0.0

Declared In

SMIncomingCallDelegate.h

– forwardCall: required method

Forwards incoming call

- (void)forwardCall:(SMUriAddress *)address

Availability

2.0.0

Declared In

SMIncomingCallDelegate.h

– setId: required method

Sets Id value of Incoming call

- (void)setId:(NSString *)Id

Parameters

Id

Indicates custom identifier which is not related with Spidr Session Id

Availability

4.2.1.1

Declared In

SMIncomingCallDelegate.h

– sendRingingFeedback required method

Sends the ringing feedback to SPiDR. Needs to be called if Ringing feedback enabled.

- (void)sendRingingFeedback

Availability

4.3.2

Declared In

SMIncomingCallDelegate.h