<BCChatStateDelegate> Protocol Reference
The delegate that is called back on chat state changes. More...
#import <BCChatStateDelegate.h>
Inheritance diagram for <BCChatStateDelegate>:
Instance Methods | |
(void) | - bcChatDidConnect: |
The chat connected. More... | |
(void) | - bcChat:didFinishWithReason:time:postChatForm: |
The chat was finished successfully. More... | |
(void) | - bcChat:didFinishWithUnavailableReason:unavailableForm:unavailableMessage: |
The chat was finished successfully. More... | |
(void) | - bcChat:didFinishWithError: |
The chat was finished with an error. More... | |
Detailed Description
The delegate that is called back on chat state changes.
- Since
- Version 1.0
Method Documentation
- (void) bcChat: | (id< BCChat >) | chat | |
didFinishWithError: | (NSError *) | error | |
The chat was finished with an error.
- Parameters
-
chat The chat 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) bcChat: | (id< BCChat >) | chat | |
didFinishWithReason: | (BCChatEndReason) | reason | |
time: | (NSDate *) | time | |
postChatForm: | (BCForm *) | postChatForm | |
The chat was finished successfully.
- Parameters
-
chat The chat which the callback is originated from. reason The reason of the finish. time The time of the chat finish. postChatForm The post chat form.
- Since
- Version 1.0
- (void) bcChat: | (id< BCChat >) | chat | |
didFinishWithUnavailableReason: | (BCUnavailableReason) | reason | |
unavailableForm: | (BCForm *) | unavailableForm | |
unavailableMessage: | (NSString *) | message | |
The chat was finished successfully.
- Parameters
-
chat The chat which the callback is originated from. reason The reason of the finish. unavailableForm The unavailable form. message Textural description of the unavailability.
- Since
- Version 1.0
- (void) bcChatDidConnect: | (id< BCChat >) | chat |
The chat connected.
- Parameters
-
chat The chat which the callback is originated from.
- Since
- Version 1.0
The documentation for this protocol was generated from the following file: