Condividi tramite


enumerazione PEER_PRESENCE_STATUS (p2p.h)

L'enumerazione PEER_PRESENCE_STATUS definisce il set di possibili impostazioni di stato di presenza disponibili per un peer che partecipa a una rete di collaborazione peer. Queste impostazioni possono essere impostate da un endpoint di rete di collaborazione peer per indicare il livello di partecipazione corrente del peer ai watcher.

Sintassi

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;

Costanti

 
PEER_PRESENCE_OFFLINE
Valore: 0
L'utente è offline.
PEER_PRESENCE_OUT_TO_LUNCH
Valore: 1
L'utente è attualmente "fuori a pranzo" e non è in grado di rispondere.
PEER_PRESENCE_AWAY
Valore: 2
L'utente non è in grado di rispondere.
PEER_PRESENCE_BE_RIGHT_BACK
Valore: 3
L'utente si è allontanato dall'applicazione e parteciperà a breve.
PEER_PRESENCE_IDLE
Valore: 4
L'utente è inattiva.
PEER_PRESENCE_BUSY
Valore: 5
L'utente è occupato e non vuole essere disturbato.
PEER_PRESENCE_ON_THE_PHONE
Valore: 6
L'utente è attualmente sul telefono e non vuole essere disturbato.
PEER_PRESENCE_ONLINE
Valore: 7
L'utente partecipa attivamente alla rete di collaborazione peer.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista [solo app desktop]
Server minimo supportato Nessuno supportato
Intestazione p2p.h

Vedi anche

Enumerazioni api di collaborazione