Freigeben über


IRTCClientPresence2:IRTCClientPresence (Windows CE 5.0)

Send Feedback

This interface adds roaming and grouping capabilities for presence objects to the client. It extends 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
EnablePresence Enables the presence functionality for outgoing and incoming subscriptions.
Export Exports a snapshot of the lists of buddies and blocked or allowed watchers.
Import Imports presence information, such as the buddy list and allowed or blocked watcher list.
EnumerateBuddies Gets an enumeration of buddies available on the client.
Buddies Gets a collection of the buddies available on the client.
Buddy Gets a buddy whose presentity Universal Resource Identifier (URI) matches the supplied URI.
AddBuddy Adds a buddy to the buddy list.
RemoveBuddy Removes a buddy from the buddy list.
EnumerateWatchers Retrieves an enumeration of the allowed and blocked watchers available on this client.
Watchers Gets a collection of the watchers available on this client.
Watcher Gets a watcher whose presentity URI matches the supplied URI.
AddWatcher Adds a watcher to the allowed or blocked watcher list.
RemoveWatcher Removes a watcher from the watcher list.
SetLocalPresenceInfo Sets the local presence status.
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.
PrivacyMode Sets or gets the privacy mode for the user.

The following table shows the IRTCClientPresence2 methods.

Method Description
EnablePresenceEx Enables the presence for a specific profile, attaching buddies and watchers found in the specified local storage.
DisablePresence Disables the presence functionality on the client.
AddGroup Adds a new buddy group.
RemoveGroup Removes a buddy group.
EnumerateGroups Retrieves an enumeration of the groups available on this client.
Groups Gets a collection of the groups available on this client.
Group Gets the buddy group that matches the specified name.
AddWatcherEx Adds a watcher to the allowed or blocked user list.
WatcherEx Gets a watcher attached to the RTC Client object, based on a supplied SIP URI.
PresenceProperty Sets or gets the standard presence property for the local user.
SetPresenceData Sets application-specific data to be included in the presence document.
GetPresenceData Retrieves application-specific information included in the presence document.
GetLocalPresenceInfo Retrieves the application-specific information from the presence document
AddBuddyEx Allows the application to define the type of subscriptions allowed for a buddy.

Obtaining a Pointer

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

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 | IRTCClientPresence | IUnknown | QueryInterface

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.