<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
-
chatSession The chat session which the callback is originated from. error The 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
-
chatSession The created chat session. reason The reason for chat to be unavailable. unavailableForm The unavailable chat form description. message The 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
-
chatSession The chat session which the callback is originated from. chat The chat instance that is created for the chat.
- Since
- Version 1.0
The documentation for this protocol was generated from the following file: