SINCallClientDelegate
Objective-C
@protocol SINCallClientDelegate <NSObject>
Swift
protocol SINCallClientDelegate : NSObjectProtocol
The delegate of a SINCallClient object must adopt the SINCallClientDelegate protocol.
-
Tells the delegate that an incoming call has been received.
To receive further events related to this call, a SINCallDelegate should be assigned to the call. This method is invoked on the queue specified via
-[Sinch setCallbackQueue:]
, which defaults to the main queue.The call has entered the
SINCallStateInitiating
state.Declaration
Objective-C
- (void)client:(id<SINCallClient>)client didReceiveIncomingCall:(id<SINCall>)call;
Swift
optional func client(_ client: (any SINCallClient)!, didReceiveIncomingCall call: (any SINCall)!)
Parameters
client
The client informing the delegate that an incoming call was received. The delegate of the incoming call object should be set by the implementation of this method.
call
The incoming call.