SINClientDelegate
Objective-C
@protocol SINClientDelegate <NSObject>Swift
protocol SINClientDelegate : NSObjectProtocolThe delegate of a SINClient object must adopt the SINClientDelegate protocol. The required methods allows responding to client state changes (start and stop), and providing user registration credentials (JWT).
- 
                  
                  Tells the delegate that it is required to provide additional registration credentials. See Important Thread safety notes: Should be called on main thread/main GCD queue. DeclarationObjective-C - (void)client:(id<SINClient>)client requiresRegistrationCredentials: (id<SINClientRegistration>)registrationCallback;ParametersclientThe client informing the delegate that it requires additional registration details. registrationCallbackThe callback object that is to be called when registration credentials have been fetched. 
- 
                  
                  Tells the delegate that the client started the calling functionality. See Important Thread safety notes: Should be called on main thread/main GCD queue. DeclarationObjective-C - (void)clientDidStart:(id<SINClient>)client;Swift func clientDidStart(_ client: SINClient!)ParametersclientThe client informing the delegate that the calling functionality started successfully. 
- 
                  
                  Tells the delegate that a client failure occurred. See Important Thread safety notes: Should be called on main thread/main GCD queue. DeclarationObjective-C - (void)clientDidFail:(id<SINClient>)client error:(NSError *)error;Swift func clientDidFail(_ client: SINClient!, error: Error!)ParametersclientThe client informing the delegate that it failed to start or start listening. errorError object that describes the problem. 
 SINClientDelegate Protocol Reference
        SINClientDelegate Protocol Reference