Back to product page

StateChange event


Fires when wodXMPP changes its state.

Syntax

  • Basic
Private Sub object_StateChange (ByVal OldState)
The StateChange(OldState) syntax has these parts:
OldStateStatesEnum enumeration

Remarks

StateChange event is fired each time wodXMPP internal state changes. Initially, it is set to Disconnected. Once you initiate new connection, it will change to Connecting, etc.. Using this event you can see if there is something happening with wodXMPP, or it is idle. You can determine current state using State property.

Platforms

Windows