Options class Null safety

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
read / write
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
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
read / write
hashCode int
The hash code for this object.
read-onlyinherited
includePollDetails bool
option to include poll detail
read / write
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.
read / write
useMemeberAsMessageSender bool
read / write
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.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited