BCHChatClientState
Objective-C
enum BCHChatClientState {}
Swift
enum BCHChatClientState : Int
An enumeration representing the states a client can be in.
-
The client is stopped. Chat is not available.
Declaration
Objective-C
BCHChatClientStateStopped = 0
Swift
case stopped = 0
-
The client is starting.
Declaration
Objective-C
BCHChatClientStateStarting
Swift
case starting = 1
-
The client is running, incoming messages are detected and outgoing messages can be sent.
Declaration
Objective-C
BCHChatClientStateRunning
Swift
case running = 2
-
The client is resuming.
Declaration
Objective-C
BCHChatClientStateResuming
Swift
case resuming = 3
-
The client is paused and cannot detect incoming messages nor send outgoing messages.
Declaration
Objective-C
BCHChatClientStatePaused
Swift
case paused = 4
-
The client has failed.
Declaration
Objective-C
BCHChatClientStateFailed
Swift
case failed = 5