SinchClientRegistration
public final class SinchClientRegistration
Callback object to be used to proceed in user registration process when registration credentials for the user in question have been obtained.
-
Call to inform
SinchClientthat it can register itself using provided tokenDeclaration
Swift
public func register(withJWT jwt: String)Parameters
jwtJWT token
-
If the application fails to provide a signed user registration token (JWT), it must notify the Sinch client via this method.
Calling this method will have the effect that the client delegate will receive a call to
SinchClientDelegate.clientDidFail(_:error:).See also
Declaration
Swift
public func registerDidFail(error: Error)Parameters
errorError that prevented obtaining a user registration token (JWT).