<BCCreateChatSessionDelegate> Protocol Reference
The delegate callback from BCAccount::accountWithAccessKey: that receives events about a chat being created. More...
#import <BCCreateChatSessionDelegate.h>
Inheritance diagram for <BCCreateChatSessionDelegate>:
Instance Methods | |
(void) | - bcAccount:didCreateChatWithoutPreChat:andDidStartChat: |
The chat session was created without having pre chat and the chat was started. More... | |
(void) | - bcAccount:didCreateChat:withPreChat: |
The chat session was created, pre chat needs to be filled. More... | |
(void) | - bcAccount:didCreateChat:unavailableWithReason:unavailableForm:unavailableMessage: |
The chat is currently unavailable. More... | |
(void) | - bcAccount:didFailToCreateWithError: |
The chat failed to be created. More... | |
Detailed Description
The delegate callback from BCAccount::accountWithAccessKey: that receives events about a chat being created.
- Since
- Version 1.0
Method Documentation
- (void) bcAccount: | (BCAccount *) | account | |
didCreateChat: | (id< BCChatSession >) | chatSession | |
unavailableWithReason: | (BCUnavailableReason) | reason | |
unavailableForm: | (BCForm *) | unavailableForm | |
unavailableMessage: | (NSString *) | message | |
The chat is currently unavailable.
- Parameters
-
account The account that created the chat. chatSession The created chat session. reason The reason for chat to be unavailable. unavailableForm The unavailable chat form. message The textural description of unavailable reason.
- Since
- Version 1.0
- (void) bcAccount: | (BCAccount *) | account | |
didCreateChat: | (id< BCChatSession >) | chatSession | |
withPreChat: | (BCForm *) | preChat | |
The chat session was created, pre chat needs to be filled.
- Parameters
-
account The account that created the chat. chatSession The created chat session. preChat The pre chat form.
- Since
- Version 1.0
- (void) bcAccount: | (BCAccount *) | account | |
didCreateChatWithoutPreChat: | (id< BCChatSession >) | chatSession | |
andDidStartChat: | (id< BCChat >) | chat | |
The chat session was created without having pre chat and the chat was started.
- Parameters
-
account The account that created the chat. chatSession The created chat session. chat The created and started chat. The delegates need to be added here to tha chat.
- Since
- Version 1.0
- (void) bcAccount: | (BCAccount *) | account | |
didFailToCreateWithError: | (NSError *) | error | |
The chat failed to be created.
- Parameters
-
account The account that created the chat. error The error description about the failure. Check error.code with BCErrorCodes.h to get the exact error.
- Since
- Version 1.0
The documentation for this protocol was generated from the following file: