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 = 0
Swift
case stopped = 0
-
The client is starting.
Declaration
Objective-C
BDKChatClientStateStarting
Swift
case starting = 1
-
The client is running, incoming messages are detected and outgoing messages can be sent.
Declaration
Objective-C
BDKChatClientStateRunning
Swift
case running = 2
-
The client is resuming.
Declaration
Objective-C
BDKChatClientStateResuming
Swift
case resuming = 3
-
The client is paused and cannot detect incoming messages nor send outgoing messages.
Declaration
Objective-C
BDKChatClientStatePaused
Swift
case paused = 4
-
The client is trying to reconnect with Bandyer platform.
Declaration
Objective-C
BDKChatClientStateReconnecting
Swift
case reconnecting = 5
-
The client has failed.
Declaration
Objective-C
BDKChatClientStateFailed
Swift
case failed = 6