Avaya Client Services API Reference (OS X)

- Main Page
- Classes
- Files
- Related Pages

- Class List
- Class Index
- Class Hierarchy
- Class Members

Instance Methods | List of all members
<CSMessagingConversationDelegate> Protocol Reference

`#import <CSMessagingConversation.h>`

Inherits <NSObjectNSObject>.

## Instance Methods
(void) | - messagingConversation:didChangeActiveStatus:
| Called to report that the conversation's active status has changed in response to a local or remote operation. More...
(void) | - messagingConversation:didChangeClosedStatus:
| Called to report that the closed state of the conversation has changed in response to a local or remote operation. More...
(void) | - messagingConversation:didChangeMultiPartyStatus:
| Called to report that the isMultiparty state of the conversation has changed in response to new participants being added or existing participants being removed. More...
(void) | - messagingConversation:didChangeLastAccessedTime:
| Called to report that the last accessed time of the conversation has changed in response to messages in the conversation being marked as read, or by an explicit invocation of the updateLastAccessTimeWithCompletionHandler: (CSMessagingConversation) method. More...
(void) | - messagingConversation:didChangeLastUpdatedTime:
| Called to report that the last updated time of the conversation has changed. More...
(void) | - messagingConversation:didChangeLatestEntryTime:
| Called to report that the latest entry time of the conversation has changed in response to new messages being added to the conversation. More...
(void) | - messagingConversation:didChangeStatus:
| Called to report that resource status of the conversation has changed. More...
(void) | - messagingConversation:didChangePreviewText:
| Called to report that the preview text for the conversation has changed. More...
(void) | - messagingConversation:didChangeTotalMessageCount:
| Called to report that the total number of messages in the conversation has changed. More...
(void) | - messagingConversation:didChangeTotalAttachmentCount:
| Called to report that the total number of attachments in the conversation has changed. More...
(void) | - messagingConversation:didChangeTotalUnreadMessageCount:
| Called to report that the number of unread messages in the conversation has changed. More...
(void) | - messagingConversation:didChangeTotalUnreadAttachmentCount:
| Called to report that total number of unread attachments in the conversation has changed. More...
(void) | - messagingConversation:didChangeSensitivity:
| Called to report that the sensitivity of the conversation has changed via either a local or remote operation. More...
(void) | - messagingConversation:didChangeSubject:
| Called to report that the subject of the conversation has changed via either a local or remote operation. More...
(void) | - messagingConversation:didChangeType:
| Called to report that the type of the conversation has changed. More...
(void) | - messagingConversation:didAddMessages:
| Called to report that one or more messages have been added to the conversation. More...
(void) | - messagingConversation:didRemoveMessages:
| Sent to indicate that new messages have been removed from the conversation. More...
(void) | - messagingConversationDidChangeCapabilities:
| Called to report that one or more of the capabilities of the conversation has changed. More...
(void) | - messagingConversation:didAddParticipants:
| Called to report that one or more participants have been added to the conversation. More...
(void) | - messagingConversation:didRemoveParticipants:
| Called to report that one or more participants have been removed from the conversation. More...

## Method Documentation

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didAddMessages: |  | (NSArray *) | messages

Called to report that one or more messages have been added to the conversation.

Parameters

  messagingConversation | the CSMessagingConversation for which the messages were added.
  messages | The new messages which have been added.

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didAddParticipants: |  | (NSArray *) | participants

Called to report that one or more participants have been added to the conversation.

Parameters

  messagingConversation | the CSMessagingConversation for which the participants were added.
  participants | list of CSMessagingParticipant added to the conversation.

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeActiveStatus: |  | (BOOL) | isActive

Called to report that the conversation's active status has changed in response to a local or remote operation.

Parameters

  messagingConversation | the CSMessagingConversation for which the active state has changed.
  isActive | the new value of the isActive flag.

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeClosedStatus: |  | (BOOL) | isClosed

Called to report that the closed state of the conversation has changed in response to a local or remote operation.

Parameters

  messagingConversation | The conversation for which the the active state changed
  isClosed | the new value of the isClosed flag.

See also
  -[CSMessagingConversation closed]

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeLastAccessedTime: |  | (NSDate *) | time

Called to report that the last accessed time of the conversation has changed in response to messages in the conversation being marked as read, or by an explicit invocation of the updateLastAccessTimeWithCompletionHandler: (CSMessagingConversation) method.

Parameters

  messagingConversation | the CSMessagingConversation for which the last accessed time has changed.
  time | The new time.

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeLastUpdatedTime: |  | (NSDate *) | time

Called to report that the last updated time of the conversation has changed.

Parameters

  messagingConversation | the CSMessagingConversation for which the time has changed.
  time | The new time.

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeLatestEntryTime: |  | (NSDate *) | time

Called to report that the latest entry time of the conversation has changed in response to new messages being added to the conversation.

Parameters

  messagingConversation | the CSMessagingConversation for which the last entry time has changed.
  time | The new time.

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeMultiPartyStatus: |  | (BOOL) | isMultiParty

Called to report that the isMultiparty state of the conversation has changed in response to new participants being added or existing participants being removed.

Parameters

  messagingConversation | the CSMessagingConversation for which the mutliparty state has changed.
  isMultiParty | The new value of the isMultiParty flag

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangePreviewText: |  | (NSString *) | previewText

Called to report that the preview text for the conversation has changed.

Parameters

  messagingConversation | the CSMessagingConversation for which the preview text has changed.
  previewText | The new value of the preview text

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeSensitivity: |  | (CSMessagingSensitivityLevel) | sensitivity

Called to report that the sensitivity of the conversation has changed via either a local or remote operation.

Parameters

  messagingConversation | the CSMessagingConversation for which the sensitivity has changed.
  sensitivity | The new sensitivity's value.

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeStatus: |  | (CSMessagingConversationStatus) | status

Called to report that resource status of the conversation has changed.

Parameters

  messagingConversation | the CSMessagingConversation for which the resource status has changed.
  status | The new value of the resource status

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeSubject: |  | (NSString *) | subject

Called to report that the subject of the conversation has changed via either a local or remote operation.

Parameters

  messagingConversation | the CSMessagingConversation for which the subject has changed.
  subject | The new subject's value

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeTotalAttachmentCount: |  | (NSUInteger) | totalAttachmentCount

Called to report that the total number of attachments in the conversation has changed.

Parameters

  messagingConversation | the CSMessagingConversation for which the total number of messages has changed.
  totalAttachmentCount | The new value representing the total attachment count.

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeTotalMessageCount: |  | (NSUInteger) | totalMsgCount

Called to report that the total number of messages in the conversation has changed.

Parameters

  messagingConversation | the CSMessagingConversation for which the total number of messages has changed.
  totalMsgCount | The new value representing the total message count.

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeTotalUnreadAttachmentCount: |  | (NSUInteger) | totalUnreadAttachmentCount

Called to report that total number of unread attachments in the conversation has changed.

Parameters

  messagingConversation | the CSMessagingConversation for which the total number of messages has changed.
  totalUnreadAttachmentCount | The new value representing the unread attachment count.

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeTotalUnreadMessageCount: |  | (NSUInteger) | totalUnreadMsgCount

Called to report that the number of unread messages in the conversation has changed.

Parameters

  messagingConversation | the CSMessagingConversation for which the total number of messages has changed.
  totalUnreadMsgCount | The new value representing the unread message count.

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didChangeType: |  | (CSMessagingConversationType) | conversationType

Called to report that the type of the conversation has changed.

This is called when a user changes the conversation's type.

Parameters

  messagingConversation | the CSMessagingConversation for which the subject has changed.
  conversationType | The new type's value

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didRemoveMessages: |  | (NSArray *) | messages

Sent to indicate that new messages have been removed from the conversation.

This is called when a user removes a message from a conversation. This is generally only avaliable for messages which haven't been reconciled with the server.

Parameters

  messagingConversation | the CSMessagingConversation for which the messages were removed.
  messages | The new messages which have been removed.

- (void) messagingConversation: |  | (CSMessagingConversation *) | messagingConversation
didRemoveParticipants: |  | (NSArray *) | participants

Called to report that one or more participants have been removed from the conversation.

Parameters

  messagingConversation | the CSMessagingConversation for which the participants were removed.
  participants | the list of CSMessagingParticipant deleted from the conversation.

- (void) messagingConversationDidChangeCapabilities: |  | (CSMessagingConversation *) | messagingConversation |

Called to report that one or more of the capabilities of the conversation has changed.

The application should query each of the capabilities and enable/disable elements of the user interface based on the new capability settings. Capabilities can change as a result of local or remote actions.

Parameters

  messagingConversation | the CSMessagingConversation for which the callback is associated with.

See also
  CSMessagingConversation::updateSubjectCapability
  CSMessagingConversation::updateLastAccessedTimeCapability
  CSMessagingConversation::updateSensitivityCapability
  CSMessagingConversation::updateTypeCapability
  CSMessagingConversation::olderContentCapability
  CSMessagingConversation::addParticipantsCapability
  CSMessagingConversation::removeParticipantsCapability
  CSMessagingConversation::createMessageCapability
  CSMessagingConversation::markAllContentAsReadCapability
  CSMessagingConversation::leaveCapability
  CSMessagingConversation::startCapability
  CSMessagingConversation::removeCapability
  CSMessagingConversation::messageReadStateCapability

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

- CSMessagingConversation.h