Options class

A structure for options to SendbirdSdk.

Constructors

Options({int connectionTimeout = 10, int authenticationTimeout = 30, int fileTransferTimeout = 30, int typingIndicatorThrottle = 5, bool useMemeberAsMessageSender = true, int websocketTimeout = 30, bool includePollDetails = true})

Properties

authenticationTimeout int
TBD
getter/setter pair
connectionTimeout int
Sets the timeout for connection. If there is a timeout error frequently, set the longer timeout than default value. The default 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
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
includePollDetails bool
option to include poll detail
getter/setter pair
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.
getter/setter pair
useMemeberAsMessageSender bool
getter/setter pair
websocketTimeout 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.
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