build

abstract fun build(): SinchClient

Creates the resulting SinchClient.

Return

A new SinchClient instance.

Throws

If SinchClient fails to initialise local database.

If context, userId, applicationKey or environmentHost were not provided or if any of the arguments was invalid.