SendbirdChatOptions constructor
SendbirdChatOptions({
- bool? useCollectionCaching = defaultUseCollectionCaching,
- int? connectionTimeout = defaultConnectionTimeout,
- int? webSocketTimeout = defaultWebSocketTimeout,
- int? fileTransferTimeout = defaultFileTransferTimeout,
- int? typingIndicatorThrottle = defaultTypingIndicatorThrottle,
- bool? useMemberInfoInMessage = defaultUseMemberInfoInMessage,
- bool? useAutoResend = defaultUseAutoResend,
Implementation
SendbirdChatOptions({
bool? useCollectionCaching = defaultUseCollectionCaching,
int? connectionTimeout = defaultConnectionTimeout,
int? webSocketTimeout = defaultWebSocketTimeout,
int? fileTransferTimeout = defaultFileTransferTimeout,
int? typingIndicatorThrottle = defaultTypingIndicatorThrottle,
bool? useMemberInfoInMessage = defaultUseMemberInfoInMessage,
bool? useAutoResend = defaultUseAutoResend,
}) {
this.useCollectionCaching = useCollectionCaching;
this.connectionTimeout = connectionTimeout;
this.webSocketTimeout = webSocketTimeout;
this.fileTransferTimeout = fileTransferTimeout;
this.typingIndicatorThrottle = typingIndicatorThrottle;
this.useMemberInfoInMessage = useMemberInfoInMessage;
this.useAutoResend = useAutoResend;
this.useAutoResend = _useCollectionCaching ? useAutoResend : false;
}