Back to product page

State property


Returns current component state.

Type

StatesEnum enumeration

Syntax

  • Basic
object.State [= value]
The State(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodXMPP
valueA value.

Remarks

State property holds current connection state between wodXMPP component and remote server. For each change of this state, StateChange event is fired. List of all possible states can be found here. To get string expression that represents any state (not only one held in State property) you can use StateText property.

Platforms

Windows