Avaya Client Services API Reference (OS X)
Instance Methods | List of all members
<CSPresenceListSubscriptionDelegate> Protocol Reference

Describes methods that are implemented by the delegate of a CSPresenceListSubscription. More...

#import <CSPresenceListSubscription.h>

Inherits <NSObjectNSObject>.

Instance Methods

(void) - presenceListSubscriptionDidStart:
 Sent when presence list subscription has started successfully. More...
 
(void) - presenceListSubscription:didFailToStartWithError:
 Sent when an unrecoverable failure occurs preventing the subscription from starting. More...
 
(void) - presenceListSubscription:didReceivePresence:
 Sent when presence information is received for a remote user. More...
 
(void) - presenceListSubscription:didStopWithError:
 Sent when the subscription has been stopped either intentionally or as a result of the error. More...
 

Detailed Description

Describes methods that are implemented by the delegate of a CSPresenceListSubscription.

Method Documentation

- (void) presenceListSubscription: (CSPresenceListSubscription *)  subscription
didFailToStartWithError: (NSError *)  error 

Sent when an unrecoverable failure occurs preventing the subscription from starting.

Parameters
subscriptionThe subscription sending the message.
errorAn error object describing the failure.
- (void) presenceListSubscription: (CSPresenceListSubscription *)  subscription
didReceivePresence: (CSPresence *)  presence 

Sent when presence information is received for a remote user.

Parameters
subscriptionThe subscription sending the message.
presenceThe presence information that was received.
- (void) presenceListSubscription: (CSPresenceListSubscription *)  subscription
didStopWithError: (NSError *)  error 

Sent when the subscription has been stopped either intentionally or as a result of the error.

Parameters
subscriptionThe subscription sending the message.
errorAn error object describing the failure if any.
- (void) presenceListSubscriptionDidStart: (CSPresenceListSubscription *)  subscription

Sent when presence list subscription has started successfully.

Parameters
subscriptionThe subscription sending the message.

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