Share via


RTC_BUDDY_EVENT_TYPE

The RTC_BUDDY_EVENT_TYPE enumeration describes the possible buddy events. The IRTCBuddyEvent2::get_EventType method uses a value of this enumeration.

typedef enum RTC_BUDDY_EVENT_TYPE
{
  RTCBET_BUDDY_ADDED, 
  RTCBET_BUDDY_REMOVE, 
  RTCBET_BUDDY_UPDATE, 
  RTCBET_BUDDY_STATE_CHANGE, 
  RTCBET_BUDDY_ROAMED, 
  RTCBET_BUDDY_SUBSCRIBED
} RTC_BUDDY_EVENT_TYPE;

Constants

  • RTCBET_BUDDY_ADDED
    This buddy has been successfully added to the list of buddies.

  • RTCBET_BUDDY_REMOVE
    This buddy has been successfully removed from the list of buddies.

  • RTCBET_BUDDY_UPDATE
    This buddy's properties have been updated.

  • RTCBET_BUDDY_STATE_CHANGE
    This buddy's presence state has changed. This event will not be fired for a buddy of type RTCBT_ALWAYS_ONLINE or RTCBT_ALWAYS_OFFLINE.

  • RTCBET_BUDDY_ROAMED
    This event is fired when a buddy from the locally persisted list of buddies is stored on the SIP server. If the application attempts to add a buddy when the buddy roaming session was not previously enabled, the buddy is added to the list of buddies persisted on the local machine and saved to the SIP server when the buddy roaming session is enabled. When the buddy has been successfully saved on the server, an IRTCBuddyEvent is fired to notify the application of the roamed buddy.

    **RTC 1.0 and 1.01:  **This enumeration value is not supported.

  • RTCBET_BUDDY_SUBSCRIBED
    This buddy's presence information is subscribed to. This event indicates that a SIP SUBSCRIBE message has been sent to the buddy. This event will not be fired for a buddy of type RTCBT_ALWAYS_ONLINE or RTCBT_ALWAYS_OFFLINE.

    **RTC 1.0 and 1.01:  **This enumeration value is not supported.

Requirements

Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.