Bold360 and BoldChat Developer Center

BoldChatViewControllerDelegate Events

BoldChatViewController has a delegate for the following events:

- (void)boldChatViewControllerChatSessionDidStart:(BoldChatViewController *)boldChatViewController visitorId:(NSString *)visitorId language:(NSString *)language {
	//The chat session did start. It means that a pre chat form, an unavailable chat form, or a chat form is shown.
}

- (void)boldChatViewControllerChatSessionDidFinish:(BoldChatViewController *)boldChatViewController {
	//The chat session did finish successfully.
}

- (void)boldChatViewControllerChatDidStart:(BoldChatViewController *)boldChatViewController {
	//The chat did start.
}

- (void)boldChatViewControllerChatDidFinish:(BoldChatViewController *)boldChatViewController {
	//The chat did finish successfully.
}

- (void)boldChatViewController:(BoldChatViewController *)boldChatViewController chatMessageDidArrive:(BCMessage *)message {
	//A chat message did arrive.
}

- (void)boldChatViewController:(BoldChatViewController *)boldChatViewController chatAutoMessageDidArrive:(BCMessage *)message {
	//A chat auto message did arrive.
}

- (void)boldChatViewController:(BoldChatViewController *)boldChatViewController operatorTyping:(BOOL)typing {
	//An agent is typing.
}

- (void)boldChatViewController:(BoldChatViewController *)boldChatViewController didFailWithError:(NSError *)error {
//An error happened in the chat.
}