Properties for client initialization configuration.
More...
Properties for client initialization configuration.
int com.twilio.chat.ChatClient.Properties.getCommandTimeout |
( |
| ) |
|
- Returns
- Timeout in milliseconds for commands which SDK sends over network (i.e. Messages#sendMessage, Channel#join etc). StatusListener#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.
String com.twilio.chat.ChatClient.Properties.getRegion |
( |
| ) |
|
Twilio server region to connect to.
Instances exist in specific regions, so this should only be changed if needed.
- Returns
- Region such as
us1
or ie1
.
final int com.twilio.chat.ChatClient.Properties.DEFAULT_COMMAND_TIMEOUT = 90000 |
|
static |
final int com.twilio.chat.ChatClient.Properties.MIN_COMMAND_TIMEOUT = 10000 |
|
static |