build

abstract fun build(): UserController

Creates the resulting UserController.

Return

A new UserController 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.