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
<CSPresenceServiceDelegate> Protocol Reference

`#import <CSPresenceService.h>`

Inherits <NSObjectNSObject>.

## Instance Methods
(void) | - presenceService:didPublishPresence:
| Sent when the local user's presence has been published successfully. More...
(void) | - presenceService:didFailToPublishPresence:error:
| Sent when the local user's presence failed to be published. More...
(void) | - presenceService:didReceiveSelfPresence:
| Sent when presence information is received for the local user. More...
(void) | - presenceServiceAvailable:
| Sent when the presence service becomes available. More...
(void) | - presenceServiceUnavailable:
| Called when the presence service becomes unavailable. More...

## Method Documentation

- (void) presenceService: |  | (CSPresenceService *) | presenceService
didFailToPublishPresence: |  | (CSPresence *) | presence
error: |  | (NSError *) | error

Sent when the local user's presence failed to be published.

Parameters

  presenceService | The presence service instance sending the message.
  presence | The presence intended to send.
  error | The error containing the details of the failure.

- (void) presenceService: |  | (CSPresenceService *) | presenceService
didPublishPresence: |  | (CSPresence *) | presence

Sent when the local user's presence has been published successfully.

Parameters

  presenceService | The presence service instance sending the message.
  presence | The presence information sent.

- (void) presenceService: |  | (CSPresenceService *) | presenceService
didReceiveSelfPresence: |  | (CSPresence *) | presence

Sent when presence information is received for the local user.

Parameters

  presenceService | The presence service instance sending the message.
  presence | The presence information received.

- (void) presenceServiceAvailable: |  | (CSPresenceService *) | presenceService |

Sent when the presence service becomes available.

Parameters

  presenceService | The presence service associated with the message.

- (void) presenceServiceUnavailable: |  | (CSPresenceService *) | presenceService |

Called when the presence service becomes unavailable.

The service may become unavailable due to a number of reasons such as network issues, presence server issues, and configuration issues.

Parameters

  presenceService | The presence service associated with the callback.

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

- CSPresenceService.h