setCommandTimeout

abstract fun setCommandTimeout(commandTimeout: Int): ConversationsClient.Properties.Builder

Set timeout for commands which SDK sends over network (i.e. send, join etc). onError will be called when timeout is reached.

In case of bad connectivity SDK retries to send command until timeout is reached. Timeout could occur earlier than specified time if there is no enough time to make one more attempt.

The default value is DEFAULT_COMMAND_TIMEOUT.

Return

Self for chaining.

Parameters

commandTimeout

timeout in milliseconds. Must be greater than or equal to MIN_COMMAND_TIMEOUT

Throws