PEER_PRESENCE_STATUS enumeration (p2p.h)

The PEER_PRESENCE_STATUS enumeration defines the set of possible presence status settings available to a peer that participates in a peer collaboration network. These settings can be set by a peer collaboration network endpoint to indicate the peer's current level of participation to its watchers.

Syntax

typedef enum peer_presence_status_tag {
  PEER_PRESENCE_OFFLINE = 0,
  PEER_PRESENCE_OUT_TO_LUNCH = 1,
  PEER_PRESENCE_AWAY = 2,
  PEER_PRESENCE_BE_RIGHT_BACK = 3,
  PEER_PRESENCE_IDLE = 4,
  PEER_PRESENCE_BUSY = 5,
  PEER_PRESENCE_ON_THE_PHONE = 6,
  PEER_PRESENCE_ONLINE = 7
} PEER_PRESENCE_STATUS;

Constants

 
PEER_PRESENCE_OFFLINE
Value: 0
The user is offline.
PEER_PRESENCE_OUT_TO_LUNCH
Value: 1
The user is currently "out to lunch" and unable to respond.
PEER_PRESENCE_AWAY
Value: 2
The user is away and unable to respond.
PEER_PRESENCE_BE_RIGHT_BACK
Value: 3
The user has stepped away from the application and will participate soon.
PEER_PRESENCE_IDLE
Value: 4
The user is idling.
PEER_PRESENCE_BUSY
Value: 5
The user is busy and does not wish to be disturbed.
PEER_PRESENCE_ON_THE_PHONE
Value: 6
The user is currently on the phone and does not wish to be disturbed.
PEER_PRESENCE_ONLINE
Value: 7
The user is actively participating in the peer collaboration network.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server None supported
Header p2p.h

See also

Collaboration API Enumerations