User Controller Builder
The UserControllerBuilder class builds a new UserController instance. To construct a UserControllerBuilder, the required configuration parameters are:
Context.
Application Key.
Environment host.
User ID. It is optional to specify
Push configuration.
Callback handler.
Functions
Sets the application key associated with the UserController.
Creates the resulting UserController.
Sets the callback handler (on a thread with a looper) the UserController will post callbacks on.
Sets the context associated with the UserController.
Sets the environment host associated with the UserController.
Sets the PushConfiguration to be used to deliver incoming call notifications. Currently Sinch SDK supports FCM and HMS notification providers. To create specific push configuration see FcmPushConfigurationBuilder or HmsPushConfigurationBuilder.
Sets the user id associated with the UserController. If the app already has a scheme for user IDs (email addresses, phone numbers, customer numbers, etc.), the same ID could be used when configuring the UserController.