IRTCBuddy2:IRTCBuddy (Windows CE 5.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 |
---|---|
Status | Gets the current presence status of the buddy. |
Notes | Gets the custom presence string of the buddy. |
The following table shows the IRTCBuddy2 methods.
Method | Description |
---|---|
Profile | Gets the profile currently used by the buddy. |
Refresh | Refreshes the presence subscription for this buddy. |
EnumerateGroups | Gets an enumerated list of the groups to which the buddy belongs. |
Groups | Gets a collection of the groups to which this buddy belongs. |
PresenceProperty | Gets the presence property for the buddy. |
EnumeratePresenceDevices | Retrieves an enumerated list of the available presence devices. |
PresenceDevices | Gets a collection of the presence devices for this buddy. |
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 QueryInterface on the retrieved IRTCBuddy interface. Any buddy object created should be immediately added to a buddy group using the IRTCBuddyGroup::AddBuddy method.
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.
See Also
RTC Client API Interfaces | IRTCBuddy | IRTCBuddyGroup::AddBuddy | IRTCClientPresence::AddBuddy | IUnknown | QueryInterface
Send Feedback on this topic to the authors