The delegate of the BoldChatViewController. Lifecycle events of the chat are called back on it.
More...
#import <BoldChatViewController.h>
The delegate of the BoldChatViewController. Lifecycle events of the chat are called back on it.
- Since
- Version 1.0
A chat auto message did arrive.
- Parameters
-
boldChatViewController | The view controller that reports the event. |
message | The auto message that arrived. |
- Since
- Version 1.0
A chat message did arrive.
- Parameters
-
boldChatViewController | The view controller that reports the event. |
message | The message that arrived. It can also be a visitor message sent previously. |
- Since
- Version 1.0
- (void) boldChatViewController: |
|
(BoldChatViewController *) |
boldChatViewController |
didChangeLanguageTo: |
|
(NSString *) |
language |
branding: |
|
(NSDictionary *) |
branding |
|
|
| |
|
optional |
The language was changed.
- Parameters
-
boldChatViewController | The view controller that reports the event. |
language | The language that the chat was changed to. |
branding | The branding dictionary of the selected language. |
- Since
- Version 1.0
- (void) boldChatViewController: |
|
(BoldChatViewController *) |
boldChatViewController |
didFailWithError: |
|
(NSError *) |
error |
|
|
| |
|
optional |
An error happened in the chat.
- Parameters
-
boldChatViewController | The view controller that reports the event. |
error | The error description about the failure. Check error.code with BCErrorCodes.h to get the exact error. |
- Since
- Version 1.0
- (void) boldChatViewController: |
|
(BoldChatViewController *) |
boldChatViewController |
operatorTyping: |
|
(BOOL) |
typing |
|
|
| |
|
optional |
An operator is typing.
- Parameters
-
boldChatViewController | The view controller that reports the event. |
typing | If YES at least one operator is typing. If NO, no operator is typing. |
- Since
- Version 1.0
The chat did finish successfully.
- Parameters
-
boldChatViewController | The view controller that reports the event. |
- Since
- Version 1.0
The chat did start.
- Parameters
-
boldChatViewController | The view controller that reports the event. |
- Since
- Version 1.0
The chat session did finish successfully.
- Parameters
-
boldChatViewController | The view controller that reports the event. |
- Since
- Version 1.0
- (void) boldChatViewControllerChatSessionDidStart: |
|
(BoldChatViewController *) |
boldChatViewController |
visitorId: |
|
(NSString *) |
visitorId |
language: |
|
(NSString *) |
language |
|
|
| |
|
optional |
The chat session did start. It means that a pre chat form, an unavailable chat form, or a chat is shown.
- Parameters
-
boldChatViewController | The view controller that reports the event. |
visitorId | The visitor ID of the visitor, which was pre defined, or assigned by the server. |
language | The language of the chat created. |
- Since
- Version 1.0
The documentation for this protocol was generated from the following file: