Class Sinch


  • public final class Sinch
    extends java.lang.Object
    The Sinch class is the entry point to use the Sinch SDK.
    • Constructor Summary

      Constructors 
      Constructor Description
      Sinch()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SinchClientBuilder getSinchClientBuilder()
      Returns a SinchClientBuilder instance that can be used to create a new SinchClient.
      static UserControllerBuilder getUserControllerBuilder()
      Returns a UserControllerBuilder instance that can be used create a new UserController, which is used to register new user and its FCM Push Token for the Sinch Managed push to allow receiving incoming calls via push for this specified user on this very device.
      static java.lang.String getVersion()
      Returns the current version of the Sinch SDK library.
      • Methods inherited from class java.lang.Object

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

      • Sinch

        public Sinch()
    • Method Detail

      • getSinchClientBuilder

        public static SinchClientBuilder getSinchClientBuilder()
        Returns a SinchClientBuilder instance that can be used to create a new SinchClient.
        Returns:
        A SinchClientBuilder instance.
      • getUserControllerBuilder

        public static UserControllerBuilder getUserControllerBuilder()
        Returns a UserControllerBuilder instance that can be used create a new UserController, which is used to register new user and its FCM Push Token for the Sinch Managed push to allow receiving incoming calls via push for this specified user on this very device. The UserControllerBuilder requires that a os.android.Looper is attached to the current thread on which the build methods invoked or CallbackHandler is provided via an optional parameter.
        Returns:
        A UserControllerBuilder instance.
      • getVersion

        public static java.lang.String getVersion()
        Returns the current version of the Sinch SDK library.
        Returns:
        the current version of the Sinch SDK library.