Interface UserRegistrationCallback

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onCredentialsRequired(ClientRegistration clientRegistration) Called when SDK needs to verify user's identity within your application.
      abstract Unit onUserRegistered() Informs that user has been successfully registered.
      abstract Unit onUserRegistrationFailed(SinchError error) Informs that user registration has failed and Sinch SDK will not function properly.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.