Bold360 and BoldChat Developer Center

<BCSubmitPreChatDelegate> Protocol Reference

The callbacks for the result of BCChatSession::submitPreChat:andStartChatWithDelegate: . More...

#import <BCSubmitPreChatDelegate.h>

Inheritance diagram for <BCSubmitPreChatDelegate>:

Instance Methods

(void) - bcChatSessionDidSubmitPreChat:andDidStartChat:
 The submission finished successfully, the chat is started. More...
 
(void) - bcChatSession:didSubmitPreChatToUnavailableChatWithReason:unavailableForm:unavailableMessage:
 The chat is currently unavailable. More...
 
(void) - bcChatSession:didFailToSubmitPreChat:
 The submission of the pre-chat or the starting of the chat failed. More...
 

Detailed Description

The callbacks for the result of BCChatSession::submitPreChat:andStartChatWithDelegate: .

Since
Version 1.0

Method Documentation

- (void) bcChatSession: (id< BCChatSession >)  chatSession
didFailToSubmitPreChat: (NSError *)  error 

The submission of the pre-chat or the starting of the chat failed.

Parameters
chatSessionThe chat session which the callback is originated from.
errorThe error description about the failure. Check error.code with BCErrorCodes.h to get the exact error.
Since
Version 1.0
- (void) bcChatSession: (id< BCChatSession >)  chatSession
didSubmitPreChatToUnavailableChatWithReason: (BCUnavailableReason)  reason
unavailableForm: (BCForm *)  unavailableForm
unavailableMessage: (NSString *)  message 

The chat is currently unavailable.

Parameters
chatSessionThe created chat session.
reasonThe reason for chat to be unavailable.
unavailableFormThe unavailable chat form description.
messageThe textural description of unavailable reason.
Since
Version 1.0
- (void) bcChatSessionDidSubmitPreChat: (id< BCChatSession >)  chatSession
andDidStartChat: (id< BCChat >)  chat 

The submission finished successfully, the chat is started.

Parameters
chatSessionThe chat session which the callback is originated from.
chatThe chat instance that is created for the chat.
Since
Version 1.0

The documentation for this protocol was generated from the following file: