SINClientDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | SINClient.h |
Overview
The delegate of a SINClient object must adopt the SINClientDelegate protocol. The required methods handle client state changes and the optional log method allows the delegate to log messages from the underlying calling functionality.
When an incoming call has been received, [SINClientDelegate client:didReceiveIncomingCall:] is called. The delegate of the incoming call object should be set at this time.
– clientDidStart:
required method
Tells the delegate that the client started the calling functionality.
- (void)clientDidStart:(id<SINClient>)client
Parameters
client |
The client informing the delegate that the calling functionality started successfully. |
---|
See Also
Declared In
SINClient.h
– clientDidFail:error:
required method
Tells the delegate that a client failure occurred.
- (void)clientDidFail:(id<SINClient>)client error:(NSError *)error
Parameters
client |
The client informing the delegate that it failed to start or start listening. |
---|---|
error |
Error object that describes the problem. |
See Also
Declared In
SINClient.h
– clientDidStop:
DEPRECATED. Do not use.
- (void)clientDidStop:(id<SINClient>)client
Declared In
SINClient.h
– client:requiresRegistrationCredentials:
Tells the delegate that it is required to provide additional registration credentials.
- (void)client:(id<SINClient>)client requiresRegistrationCredentials:(id<SINClientRegistration>)registrationCallback
Parameters
client |
The client informing the delegate that it requires additional registration details. |
---|---|
registrationCallback |
The callback object that is to be called when registration credentials have been fetched. |
See Also
Declared In
SINClient.h