Share via


IRTCWatcher

The IRTCWatcher interface includes methods to manage the state of a Watcher object. The IRTCClientPresence::AddWatcher method creates the Watcher object.

Methods in Vtable Order

The IRTCWatcher interface inherits the methods of the standard COM interface IUnknown.

In addition, IRTCWatcher defines the following methods.

Method Description
get_State Returns the state of the Watcher.
put_State Sets the state of the Watcher.
get_PresentityURI Gets the presentity URI of the presence contact.
put_PresentityURI Sets the presentity URI of the presence contact.
get_Name Gets the displayable name of the presence contact.
put_Name Sets the displayable name of the presence contact.
get_Data Gets the private data associated with this presence contact.
put_Data Sets the private data of the presence contact.
get_Persistent Gets the persistence type.
put_Persistent Sets the persistence type.

Requirements

Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Redistributable: Requires Rtcdll.dll on Windows 2000, and Windows Me/98.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCWatcher is defined as c7cedad8-346b-4d1b-ac02-a2088df9be4f.