Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
RTC Client API Objects and Interfaces | RTC Client API Code Examples
Send Feedback on this topic to the authors