Partager via


RTC Buddy Object (Windows Embedded CE 6.0)

1/6/2010

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