BCChatSession.h
141 - (id<BCCancelable>)submitUnavailableEmail:(BCForm *)unavailableForm delegate:(id<BCSubmitUnavailableEmailDelegate>)submitUnavailableEmailDelegate;
150 - (id<BCCancelable>)submitPreChat:(BCForm *)preChatForm andStartChatWithDelegate:(id<BCSubmitPreChatDelegate>)submitPreChatDelegate;
159 - (id<BCCancelable>)submitPostChat:(BCForm *)postChatForm delegate:(id<BCSubmitPostChatDelegate>)submitPostChatDelegate;
168 - (id<BCCancelable>)emailChatHistory:(NSString *)emailAddress delegate:(id<BCEmailChatHistoryDelegate>)emailChatHistoryDelegate;
177 - (id<BCCancelable>)changeLanguage:(NSString *)languageString delegate:(id<BCChangeLanguageDelegate>)changeLanguageDelegate;
An entity participating in the chat. It can be either a visitor, an operator or the system...
Definition: BCPerson.h:24
BCForm * unavailableForm
The unavailable chat form. It is filled only when it is needed to be displayed.
Definition: BCChatSession.h:102
NSString * unavailableMessage
If the chat is unavailable it has the textural description of unavailability.
Definition: BCChatSession.h:84
BCUnavailableReason unavailableReason
If the chat is unavailable, this value shows the cause of unavailability.
Definition: BCChatSession.h:78
NSDictionary * branding
A dictionary that contains the localized strings for the current set language.
Definition: BCChatSession.h:114
The callbacks for the result of BCChatSession::emailChatHistory:delegate: .
Definition: BCEmailChatHistoryDelegate.h:13
BCChatEndReason endReason
The end reason of the chat if the chat ended.
Definition: BCChatSession.h:72
BCForm * preChatForm
The pre-chat form for the current chat session. It is filled on chat creation if there is pre-chat de...
Definition: BCChatSession.h:90
Container class for holding the information related to showing a form such as the pre chat...
Definition: BCForm.h:12
BCForm * postChatForm
The post chat form for the current chat session. It is filled after the chat ended.
Definition: BCChatSession.h:96
BOOL recaptureAvailable
If the visitor was shown the unavailable chat form, this value shows if an operator became available ...
Definition: BCChatSession.h:66
The callbacks for the result of BCChatSession::submitPostChat:delegate: .
Definition: BCSubmitPostChatDelegate.h:13
void suspend()
Suspends the current session. It needs to be called when the application goes to background.
NSString * departmentId
The Department ID.
Definition: BCChatSession.h:48
The callbacks for the result of BCChatSession::submitPreChat:andStartChatWithDelegate: ...
Definition: BCSubmitPreChatDelegate.h:17
void finishChatSession()
Stop and finish of the current session. It can be called any time to cancel and close the session...
id< BCChat > chat
The chat instance for sending and receiving chat messages. It is set only when the chat is available...
Definition: BCChatSession.h:108
The main class protocol that is used to interact with an active chat session.
Definition: BCChatSession.h:29
NSString * chatKey
The chat key of the current chat session. It gets a valid value, when the chat is created...
Definition: BCChatSession.h:54
A protocol of an object that sends and receives chat messages, states and events. ...
Definition: BCChat.h:21
BCPerson * visitor
The person object of the current visitor. It is autogenerated with the visitorId given on creation...
Definition: BCChatSession.h:60
id< BCChatRecaptureDelegate > chatRecaptureDelegate
While the user fills the unavailable chat form, an operator can become active. This delegate is used ...
Definition: BCChatSession.h:35
The callbacks for the result of BCChatSession::changeLanguage:delegate: .
Definition: BCChangeLanguageDelegate.h:13
void resume()
Resumes the suspended session. It needs to be called if the application resumes from background state...