Bold360 and BoldChat Developer Center

<BCChangeLanguageDelegate> Protocol Reference

The callbacks for the result of BCChatSession::changeLanguage:delegate: . More...

#import <BCChangeLanguageDelegate.h>

Inheritance diagram for <BCChangeLanguageDelegate>:

Instance Methods

(void) - bcChatSession:didChangeToLanguage:withBranding:
 The language change call finished successfully. More...
 
(void) - bcChatSession:didFailToChangeLanguageWithError:
 The language change call finished with error. More...
 

Detailed Description

The callbacks for the result of BCChatSession::changeLanguage:delegate: .

Since
Version 1.0

Method Documentation

- (void) bcChatSession: (id< BCChatSession >)  chatSession
didChangeToLanguage: (NSString *)  language
withBranding: (NSDictionary *)  branding 

The language change call finished successfully.

Parameters
chatSessionThe chat session which the callback is originated from.
languageThe new language set.
brandingThe new branding dictionary.
Since
Version 1.0
- (void) bcChatSession: (id< BCChatSession >)  chatSession
didFailToChangeLanguageWithError: (NSError *)  error 

The language change call finished with error.

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

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