BDKChatClientState
Objective-C
enum BDKChatClientState : NSInteger {}
Swift
enum ChatClientState : Int
An enumeration representing the states a client can be in.
-
The client is stopped. Chat is not available.
Declaration
Objective-C
BDKChatClientStateStopped = 0Swift
case stopped = 0 -
The client is starting.
Declaration
Objective-C
BDKChatClientStateStartingSwift
case starting = 1 -
The client is running, incoming messages are detected and outgoing messages can be sent.
Declaration
Objective-C
BDKChatClientStateRunningSwift
case running = 2 -
The client is resuming.
Declaration
Objective-C
BDKChatClientStateResumingSwift
case resuming = 3 -
The client is paused and cannot detect incoming messages nor send outgoing messages.
Declaration
Objective-C
BDKChatClientStatePausedSwift
case paused = 4 -
The client is trying to reconnect with Bandyer platform.
Declaration
Objective-C
BDKChatClientStateReconnectingSwift
case reconnecting = 5 -
The client has failed.
Declaration
Objective-C
BDKChatClientStateFailedSwift
case failed = 6
View on GitHub
BDKChatClientState Enumeration Reference