Share via


IRTCClientPresence2

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 roaming and grouping capabilities for presence objects to the client. Itextends the IRTCClientPresence interface.

Methods

The following table shows the methods for this interface in vtable order. This is the order in which the compiler calls the methods.

This interface inherits the methods for the IUnknown and IRTCClientPresence interfaces.

The following table shows the IRTCClientPresence methods.

Method Description

IRTCClientPresence::EnablePresence

Enables the presence functionality for both outgoing and incoming subscriptions.

IRTCClientPresence::Export

Exports a snapshot of the current lists of buddies and blocked or allowed watchers.

IRTCClientPresence::Import

Imports presence information, such as the buddy list and allowed or blocked watcher list.

IRTCClientPresence::EnumerateBuddies

Gets an enumeration of buddies available on the client.

IRTCClientPresence::Buddies

Gets a collection of the buddies available on the client.

IRTCClientPresence::Buddy

Gets a buddy whose presentity Universal Resource Identifier (URI) matches the supplied URI.

IRTCClientPresence::AddBuddy

Adds a buddy to the buddy list.

IRTCClientPresence::RemoveBuddy

Removes a buddy from the buddy list.

IRTCClientPresence::EnumerateWatchers

Retrieves an enumeration of the allowed and blocked watchers available on this client.

IRTCClientPresence::Watcher

Gets a watcher whose present URI matches the supplied URI.

IRTCClientPresence::Watchers

Gets a collection of the watchers available on this client.

IRTCClientPresence::AddWatcher

Adds a watcher to the allowed or blocked watcher list.

IRTCClientPresence::RemoveWatcher

Removes a watcher from the watcher list.

IRTCClientPresence::SetLocalPresenceInfo

Sets the local presence status.

IRTCClientPresence::OfferWatcherMode

Sets or gets the way the RTC Client API handles subscription requests by new watchers that are not in the list of allowed or blocked watchers.

IRTCClientPresence::PrivacyMode

Sets or gets the privacy mode for the user.

The following table shows the IRTCClientPresence2 methods.

Method Description

IRTCClientPresence2::EnablePresenceEx

Enables the presence for a specific profile, attaching buddies and watchers found in the specified local storage.

IRTCClientPresence2::DisablePresence

Disables the presence functionality on the client.

IRTCClientPresence2::AddGroup

Adds a new buddy group.

IRTCClientPresence2::RemoveGroup

Removes a buddy group.

IRTCClientPresence2::EnumerateGroups

Retrieves an enumeration of the groups available on this client.

IRTCClientPresence2::Groups

Gets a collection of the groups available on this client.

IRTCClientPresence2::Group

Gets the buddy group that matches the specified name.

IRTCClientPresence2::AddWatcherEx

Adds a watcher to the allowed or blocked user list.

IRTCClientPresence2::WatcherEx

Gets a watcher attached to the RTC Client object, based on a supplied SIP URI.

IRTCClientPresence2::PresenceProperty

Sets or gets the standard presence property for the local user.

IRTCClientPresence2::SetPresenceData

Sets application-specific data to be included in the presence document.

IRTCClientPresence2::GetPresenceData

Retrieves application-specific information included in the presence document.

IRTCClientPresence2::GetLocalPresenceInfo

Retrieves the application-specific information from the presence document

IRTCClientPresence2::AddBuddyEx

Allows the application to define the type of subscriptions allowed for a buddy.

Obtaining a Pointer

The IRTCClientPresence2 interface is created by calling IUnknown::QueryInterface on the IRTCClient object.

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