vx_evt_publication_state_changed

Raised when the publication state has changed.

#include <VxcEvents.h>

Public Attributes

Name
vx_evt_base_tbase
The common properties for all events.
VX_HANDLEaccount_handle
The handle returned from a successful login request.
char *alias_username
The alias associated with this publication.
vx_publication_state_change_statestate
The state of the publication.
vx_buddy_presence_statepresence
The presence code.
char *custom_message
A custom message string when presence is set.
intstatus_code
Code used to identify why a state change has been made.
char *status_string
Text (in English) used to describe the status code.

Public Attributes Documentation

variable base

vx_evt_base_t base;

The common properties for all events.

variable account_handle

VX_HANDLE account_handle;

The handle returned from a successful login request.

variable alias_username

char * alias_username;

The alias associated with this publication.

variable state

vx_publication_state_change_state state;

The state of the publication.

variable presence

vx_buddy_presence_state presence;

The presence code.

The following list details possible values:

  • 0 - buddy_presence_offline
  • 2 - buddy_presence_online
  • 3 - buddy_presence_busy
  • 4 - buddy_presence_brb
  • 5 - buddy_presence_away
  • 6 - buddy_presence_onthephone
  • 7 - buddy_presence_outtolunch

variable custom_message

char * custom_message;

A custom message string when presence is set.

variable status_code

int status_code;

Code used to identify why a state change has been made.

variable status_string

char * status_string;

Text (in English) used to describe the status code.