SendbirdChatOptions class

The SendbirdChatOptions class for SendbirdChat.init.

Constructors

SendbirdChatOptions.new({bool? useCollectionCaching = defaultUseCollectionCaching, int? connectionTimeout = defaultConnectionTimeout, int? webSocketTimeout = defaultWebSocketTimeout, int? fileTransferTimeout = defaultFileTransferTimeout, int? typingIndicatorThrottle = defaultTypingIndicatorThrottle, bool? useMemberInfoInMessage = defaultUseMemberInfoInMessage, bool? useAutoResend = defaultUseAutoResend})

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.
getter/setter pair
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.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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.
getter/setter pair
useAutoResend bool
If set true and useCollectionCaching is true, the failed messages will be resent automatically when the WebSocket is reconnected
getter/setter pair
useCollectionCaching bool
If set true, the local caching for collection will be worked. The default value is true. @since 4.2.0
getter/setter pair
useMemberInfoInMessage bool
If set true, the information of
getter/setter pair
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.
getter/setter pair

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