SMIncomingCallDelegate Protocol Reference
| Conforms to | SMCallDelegate |
|---|---|
| Declared in | SMIncomingCallDelegate.h |
– getCustomSIPHeaders
required method
Gets custom SIP headers which comes from incoming call notification.
- (NSDictionary *)getCustomSIPHeadersReturn 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)canRejectReturn 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)isVideoEnabledParameters
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 WebRTC GW server.
- (void)acceptCall:(BOOL)isVideoEnabled withCustomParameters:(NSDictionary *)customParametersParameters
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)ignoreCallAvailability
2.0.0
Declared In
SMIncomingCallDelegate.h
– rejectCall
required method
Rejects the incoming call
- (void)rejectCallAvailability
2.0.0
Declared In
SMIncomingCallDelegate.h
– forwardCall:
required method
Forwards incoming call
- (void)forwardCall:(SMUriAddress *)addressAvailability
2.0.0
Declared In
SMIncomingCallDelegate.h
– sendRingingFeedback
required method
Sends the ringing feedback to WebRTC GW. Needs to be called if Ringing feedback enabled.
- (void)sendRingingFeedbackAvailability
4.3.2
Declared In
SMIncomingCallDelegate.h