다음을 통해 공유


IRTCBuddy2 (Windows Embedded CE 6.0)

1/6/2010

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