SINClientRegistration Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | SINClientRegistration.h |
Overview
Callback object to be used to proceed in user registration process when registration credentials for the user in question have been obtained.
– registerWithSignature:sequence:
required method
Proceed with user registration by providing a valid signature and sequence which will be used in signing the registration request.
- (void)registerWithSignature:(NSString *)signature sequence:(uint64_t)sequence
Parameters
signature |
Signature which have been obtained for a specific user and sequence. |
---|---|
sequence |
Sequence identifier for the correspoding signature |
See Also
Declared In
SINClientRegistration.h
– registerDidFail:
required method
If the application fails to provide a signature and sequence, it must notify the Sinch client via this method.
- (void)registerDidFail:(NSError *)error
Parameters
error |
Error that prevented obtaining a registration sequence and signature. |
---|
Discussion
Calling this method will have the effect that the client delegate will receive a call to [SINClientDelegate clientDidFail:error:].
See Also
Declared In
SINClientRegistration.h