Share via


RTC Buddy Object

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

The Buddy object represents a single presence contact. There are two varieties of Buddy object: Buddy and Buddy2.

Buddy Object

The Buddy object was introduced in RTC 1.0 and is accessed using the IRTCBuddy interface.

This interface enables users to store and retrieve information about a single contact.

To create a Buddy object, use IRTCClientPresence::AddBuddy.

Buddy2 Object

The Buddy2 object is part of RTC 1.2 and is accessed using the IRTCBuddy2 interface. This interface provides additional methods that enable the user to do the following:

  • Refresh buddy subscriptions
  • Retrieve buddy groups
  • Retrieve the presence profile

To create a Buddy2 object, call IUnknown::QueryInterface on a Buddy object.

See Also

Concepts

RTC Client API Objects and Interfaces
RTC Client API Code Examples