Package com.sinch.android.rtc
Interface UserRegistrationCallback
-
- All Implemented Interfaces:
public interface UserRegistrationCallbackCallback for User Registration flow events.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonCredentialsRequired(ClientRegistration clientRegistration)Called when SDK needs to verify user's identity within your application. abstract UnitonUserRegistered()Informs that user has been successfully registered. abstract UnitonUserRegistrationFailed(SinchError error)Informs that user registration has failed and Sinch SDK will not function properly. -
-
Method Detail
-
onCredentialsRequired
abstract Unit onCredentialsRequired(ClientRegistration clientRegistration)
Called when SDK needs to verify user's identity within your application. See Authentication $ Authorization (https://developers.sinch .com/docs/in-app-calling/android/application-authentication/) section of the online docs for more information about the flow.
- Parameters:
clientRegistration- callback object to operate on when informing Sinch SDK about authentication result.
-
onUserRegistered
abstract Unit onUserRegistered()
Informs that user has been successfully registered.
-
onUserRegistrationFailed
abstract Unit onUserRegistrationFailed(SinchError error)
Informs that user registration has failed and Sinch SDK will not function properly.
- Parameters:
error- SinchError object describing the problem.
-
-
-
-