Share via


IRTCPresenceDataEvent

The IRTCPresenceDataEvent interface contains methods for retrieving presence data.

When the application's implementation of the IRTCEventNotification::Event method indicates an RTC_EVENT of type RTCE_PRESENCE_DATA, the method's pEvent parameter is an IDispatch pointer for the IRTCPresenceDataEvent interface. The methods of this interface can be used to retrieve information concerning the status code and change in the state of the Session.

Note  You must call the IRTCClient::put_EventFilter method and set an event filter mask that includes the RTCEF_PRESENCE_DATA event to enable reception of session state events. If you do not call IRTCClient::put_EventFilter, your application will not receive any events.

Methods in Vtable Order

The IRTCPresenceDataEvent interface inherits the methods of the standard COM interface IUnknown.

In addition, IRTCPresenceDataEvent defines the following methods.

Method Description
get_StatusCode Returns the result code of the operation that has just completed.
get_StatusText Returns the text message corresponding to the result code.
GetPresenceData Returns the presence data.

Requirements

Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCPresenceDataEvent is defined as 38F0E78C-8B87-4c04-A82D-AEDD83C909BB.

See Also

Presence