This function is part of the Presence Interface.
Register to receive notifications when presence changes. If the returned NotificationId is valid, you must call RemoveNotifyOnPresenceChanged when you no longer wish to
have your NotificationHandler called
Return Value
Notification ID representing the registered callback if successful, an invalid NotificationId if not
See Also
{Common.InvalidNotificationid}, {RemoveNotifyOnPresenceChanged}
Parameters
Presence.PresenceInterface.AddNotifyOnPresenceChanged
Parameter Type And Name
|
Usage Information
|
AddNotifyOnPresenceChangedOptions options
|
|
object clientData
|
Data the is returned to when NotificationHandler is invoked
|
OnPresenceChangedCallback notificationHandler
|
The callback to be fired when a presence change occurs
|
This function enables your callback (the NotificationHandler
parameter) to respond to events that happen on the back-end service. Remember to remove your callback function when it is no longer needed.
Because this function is asynchronous, it employs a callback of type Presence.OnPresenceChangedCallback to report the results of its operation.
Callback for information related to notifications from {PresenceInterface.AddNotifyOnPresenceChanged} triggering.
Callback Parameters
Presence.OnPresenceChangedCallback
Parameter Type And Name
|
Usage Information
|
PresenceChangedCallbackInfo data
|
|