SendbirdChatOptions
public final class SendbirdChatOptions: NSObjectRepresents SendbirdChat options.
- 
                  
                  Gets the value whether the sender information of senderofUserMessageorFileMessagesuch as nickname and profile url will be returned as the latest user’s or not.DeclarationSwift public static func useMemberInfoInMessage() -> Bool
- 
                  
                  Sets useMemberAsMessageSenderIf set true, the sender information ofsenderofUserMessageorFileMessagesuch as nickname and profile url will be returned as the latest user’s. Otherwise, the information will be the value of the message creation time.DeclarationSwift public static func setMemberInfoInMessage(_ value: Bool)ParametersvalueBoolvalue
- 
                  
                  Gets connection timeout DeclarationSwift public static func getConnectionTimeout() -> TimeInterval
- 
                  
                  Sets the timeout for connection. If there is a timeout error frequently, set the longer timeout than default value. The default is 10 seconds. DeclarationSwift public static func setConnectionTimeout(_ timeout: Int)Parameterstimeouttimeout for connection. 
- 
                  
                  Gets typing indicator throttle DeclarationSwift public static func getTypingIndicatorThrottle() -> TimeInterval
- 
                  
                  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. Since 3.0.100DeclarationSwift public static func setTypingIndicatorThrottle(_ interval: TimeInterval)ParametersintervalA time interval that can renew typing indicator. can be RANGE from 1.0 to 9.0. 
- 
                  
                  Gets file trnasfer timeout DeclarationSwift public static func getFileTransferTimeout() -> TimeInterval
- 
                  
                  Sets the timeout for file transfer. This value affects the methods that send a binary data including sending file messages, creating and updating channels. Since 3.0.130DeclarationSwift public static func setFileTransferTimeout(_ timeout: Int)ParameterstimeoutTimeout in seconds. It must be greater than 0. Otherwise, the default value (60 seconds) will be set. 
- 
                  
                  Gets websocket response timeout DeclarationSwift public static func getWebSocketResponseTimeout() -> TimeInterval
- 
                  
                  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. Since 3.0.199DeclarationSwift public static func setWebSocketResponseTimeout(_ timeout: Int)ParameterstimeoutTimeout in seconds. 
- 
                  
                  Sets the timeout used in refreshing the session token when SessionHandler.onSessionTokenRequiredis called. The value should be between 60 seconds and 1800 seconds (30 minutes). The default value is 60 seconds.Since 4.2.4DeclarationSwift public static func setSessionTokenRefreshTimeout(_ timeout: Int)ParameterstimeoutTimeout value in seconds. 
- 
                  
                  Gets the timeout in seconds used in refreshing the session token when SessionHandler.onSessionTokenRequiredis called.Since 4.2.4DeclarationSwift public static func getSessionTokenRefreshTimeout() -> TimeInterval
 View on GitHub
View on GitHub Install in Dash
Install in Dash