SendbirdChatOptions class
The SendbirdChatOptions class for SendbirdChat.init.
Constructors
- SendbirdChatOptions({int? connectionTimeout = defaultConnectionTimeout, int? webSocketTimeout = defaultWebSocketTimeout, int? fileTransferTimeout = defaultFileTransferTimeout, int? typingIndicatorThrottle = defaultTypingIndicatorThrottle, bool? useMemberInfoInMessage = defaultUseMemberInfoInMessage})
Properties
- connectionTimeout ↔ int
-
Sets the timeout for connection. If there is a timeout error
frequently, set the longer timeout than default value.
The default value is 10 seconds.
read / write
- fileTransferTimeout ↔ int
-
Sets the timeout for file transfer. This value affects the methods
that send a binary data including sending file messages, creating
and updating channels. The value should be between 5 seconds
and 300 seconds (5 minutes).
The default value is 30 seconds.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- typingIndicatorThrottle ↔ int
-
Sets a term of typing indicator throttling in group channel.
After this throttling interval from typing indicator started
(or ended), You can re-start (or re-end) typing indicator.
If you call start (or end) again in this interval, the call will be ignored.
The value should be between 1000 milliseconds and 9000 milliseconds.
The default value is 1000 milliseconds.
read / write
- useMemberInfoInMessage ↔ bool
-
If set
true
, the information ofread / write - webSocketTimeout ↔ int
-
Sets the websocket response timeout used in sending/receiving
commands by websocket. The value should be between 5 seconds
and 300 seconds (5 minutes).
The default value is 30 seconds.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultConnectionTimeout → const int
-
10
- defaultFileTransferTimeout → const int
-
30
- defaultTypingIndicatorThrottle → const int
-
1000
- defaultUseMemberInfoInMessage → const bool
-
true
- defaultWebSocketTimeout → const int
-
30