TwilioChatClientProperties Class Reference

Inherits from NSObject
Declared in TwilioChatClient.h

Overview

Optional chat client initialization properties.

  commandTimeout

Timeout in milliseconds for commands which SDK sends over network (i.e. send message, join to a channel, etc). Completion block will be called when timeout is reached.

@property (nonatomic, assign) NSInteger commandTimeout

Discussion

Timeout in milliseconds for commands which SDK sends over network (i.e. send message, join to a channel, etc). Completion block 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.

Value must be between TCHCommandTimeoutMin and TCHCommandTimeoutMax.

Default value is TCHCommandTimeoutDefault.

Declared In

TwilioChatClient.h