IRTCBuddy2

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

Note

This interface is unsupported in Windows Embedded CE 6.0.

This interface adds support for presence properties and profiles. It extends the functionality of the IRTCBuddy interface.

Methods

The following tables show the methods for this interface in vtable order. This is the order in which the compiler calls the methods. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

The following table shows the IRTCBuddy methods.

Method Description

IRTCBuddy::Status

Gets the current presence status of the buddy.

IRTCBuddy::Notes

Gets the custom presence string of the buddy.

The following table shows the IRTCBuddy2 methods.

Method Description

IRTCBuddy2::Profile

Gets the profile currently used by the buddy.

IRTCBuddy2::Refresh

Refreshes the presence subscription for this buddy.

IRTCBuddy2::EnumerateGroups

Gets an enumerated list of the groups to which the buddy belongs.

IRTCBuddy2::Groups

Gets a collection of the groups to which this buddy belongs.

IRTCBuddy2::PresenceProperty

Gets the presence property for the buddy.

IRTCBuddy2::EnumeratePresenceDevices

Retrieves an enumerated list of the available presence devices.

IRTCBuddy2::PresenceDevices

Gets a collection of the presence devices for this buddy.

IRTCBuddy2::SubscriptionType

Gets the type of subscription allowed for this buddy.

Obtaining a Pointer

The IRTCClientPresence::AddBuddy method returns a pointer to an IRTCBuddy implementation. Support for IRTCBuddy2 can be confirmed with a call to IUnknown::QueryInterface on the retrieved IRTCBuddy interface. Any buddy object created should be immediately added to a buddy group using the IRTCBuddyGroup::AddBuddy method.

Requirements

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

RTC Client API Interfaces