Avaya Client Services API Reference (OS X)

- Main Page
- Classes
- Files
- Related Pages

- File List
- File Members

Typedefs
CSMessagingCompletionHandler.h File Reference
`#import <Foundation/Foundation.h>`

## Typedefs
typedef void(^ | CSMessagingCompletionHandler) (NSError *error)
| Type of block used to report status of background task. More...
typedef void(^ | CSMessagingMessageCompletionHandler) (CSMessage *message, NSError *error)
typedef void(^ | CSMessagingMessageDeliveryDetailsCompletionHandler) (CSMessageDeliveryDetails *deliveryDetails, NSError *error)
typedef void(^ | CSMessagingParticipantRetrievePictureCompletionHandler) (NSData *pictureData, NSError *error)
| Type of block used to report completion or failure of picture retrieval. More...
typedef void(^ | CSConversationCompletionHandler) (CSMessagingConversation *conversation, NSError *error)
| Type of block used to report success completion of getting conversation by providerId process. More...

## Typedef Documentation

typedef void(^ CSConversationCompletionHandler) (CSMessagingConversation *conversation, NSError *error)

Type of block used to report success completion of getting conversation by providerId process.

Parameters

  conversation | conversation object.
  error | if operation fails, contains information about failure, nil otherwise.

typedef void(^ CSMessagingCompletionHandler) (NSError *error)

Type of block used to report status of background task.

typedef void(^ CSMessagingMessageCompletionHandler) (CSMessage *message, NSError *error)

typedef void(^ CSMessagingMessageDeliveryDetailsCompletionHandler) (CSMessageDeliveryDetails *deliveryDetails, NSError *error)

typedef void(^ CSMessagingParticipantRetrievePictureCompletionHandler) (NSData *pictureData, NSError *error)

Type of block used to report completion or failure of picture retrieval.

Parameters

  pictureData | picture in JPEG or PNG format.
  error | if operation fails, contains information about failure, nil otherwise.