Поделиться через


RTC Watcher Object (Windows Embedded CE 6.0)

1/6/2010

The Watcher object enables users to track the status of other RTC presence contacts. There are two varieties of Watcher object: Watcher and Watcher2.

Watcher Object

The Watcher object was introduced in RTC 1.0 and is accessed using the IRTCWatcher interface.

This interface enables users to store and retrieve information about a single watcher instance, which tracks a single presence contact.

To create a Watcher object, use IRTCClientPresence::AddWatcher.

Watcher2 Object

The Watcher2 object is part of RTC 1.2 and is accessed using the IRTCWatcher2 interface.

This interface provides additional methods to retrieve watcher access privileges.

To create a Watcher2 object, call IUnknown::QueryInterface on an IRTCWatcher reference.

See Also

Concepts

RTC Client API Objects and Interfaces
RTC Client API Code Examples