Options

object Options

Represents operation options.

Since

3.0.20

Functions

Link copied to clipboard
fun setConnectionTimeout(connectionTimeout: Int)

Sets the connect timeout for socket connection managed by connect, reconnect or internal reconnection tries. The default value is 10 seconds.

Link copied to clipboard
fun setSessionTokenRefreshTimeout(sessionTokenRefreshTimeoutSec: Int)

Sets the timeout used in refreshing the sesson token when SessionHandler.onSessionTokenRequired is called. The value should be between 60 seconds and 1800 seconds (30 minutes). The default value is 60 seconds.

Link copied to clipboard
fun setThreadOption(threadOption: ThreadOption, handler: Handler?)

Sets ThreadOption. Refer to ThreadOption. If you want to use ThreadOption.HANDLER, you should provide your handler as a parameter. Otherwise, set Handler parameter to null.

Link copied to clipboard

Sets typing indicator throttle. Refer to GroupChannel.startTyping, GroupChannel.endTyping The default value is 1000 milliseconds.

Link copied to clipboard
fun setWebSocketResponseTimeout(webSocketResponseTimeoutSec: Int)

Sets the websocket response timeout used in sending/receiving commmands by websocket. The value should be between 5 seconds and 300 seconds (5 minutes). The default value is 10 seconds.

Link copied to clipboard

If set true, the information of