Bold360 and BoldChat Developer Center

<BCChatAvailabilityDelegate> Protocol Reference

Delegate callback that is used to return the result of BCAccount::getChatAvailabilityWithDelegate:. More...

#import <BCChatAvailability.h>

Inheritance diagram for <BCChatAvailabilityDelegate>:

Instance Methods

(void) - bcChatAvailabilityChatAvailable:
 The chat is available. More...
 
(void) - bcChatAvailability:chatUnavailableForReason:
 The chat is unavailable. More...
 
(void) - bcChatAvailability:didFailWithError:
 Chat availability could not be checked. More...
 

Detailed Description

Delegate callback that is used to return the result of BCAccount::getChatAvailabilityWithDelegate:.

Since
Version 1.0

Method Documentation

- (void) bcChatAvailability: (id< BCCancelable >)  cancelable
chatUnavailableForReason: (BCUnavailableReason)  reason 

The chat is unavailable.

Parameters
cancelableThe cancelable object of the request calling this check.
reasonThe reason why the chat is not available.
Since
Version 1.0
- (void) bcChatAvailability: (id< BCCancelable >)  cancelable
didFailWithError: (NSError *)  error 

Chat availability could not be checked.

Parameters
cancelableThe cancelable object of the request calling this check.
errorThe error object for the current failure. Check error.code with BCErrorCodes.h to get the exact error.
Since
Version 1.0
- (void) bcChatAvailabilityChatAvailable: (id< BCCancelable >)  cancelable

The chat is available.

Parameters
cancelableThe cancelable object of the request calling this check.
Since
Version 1.0

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