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 = 0Swift
case stopped = 0 -
The client is starting.
Declaration
Objective-C
BCHChatClientStateStartingSwift
case starting = 1 -
The client is running, incoming messages are detected and outgoing messages can be sent.
Declaration
Objective-C
BCHChatClientStateRunningSwift
case running = 2 -
The client is resuming.
Declaration
Objective-C
BCHChatClientStateResumingSwift
case resuming = 3 -
The client is paused and cannot detect incoming messages nor send outgoing messages.
Declaration
Objective-C
BCHChatClientStatePausedSwift
case paused = 4 -
The client has failed.
Declaration
Objective-C
BCHChatClientStateFailedSwift
case failed = 5
View on GitHub
BCHChatClientState Enumeration Reference