callbackHandler

abstract fun callbackHandler(callbackHandler: Handler): SinchClientBuilder

Sets the callback handler to be used for all Sinch callbacks. The SinchClient will emit its callbacks on the thread associated with the provided handler. By default, the SinchClient uses the thread on which the builder was created.

Parameters

callbackHandler

The handler to be used for SinchClient callbacks.