ChatClientState
@available(iOS 12.0, *)
@objc(BDKChatClientState)
public enum ChatClientState : Int
An enumeration representing the states a chat client can be in.
-
The client is stopped. Chat is not available.
Declaration
Swift
case stopped = 0 -
The client is starting.
Declaration
Swift
case starting -
The client is running, incoming messages are detected and outgoing messages can be sent.
Declaration
Swift
case running -
The client is resuming.
Declaration
Swift
case resuming -
The client is paused and cannot detect incoming messages nor send outgoing messages.
Declaration
Swift
case paused -
The client is trying to reconnect with Kaleyra Video platform.
Declaration
Swift
case reconnecting -
The client has failed.
Declaration
Swift
case failed
View on GitHub
ChatClientState Enumeration Reference