From Bright Pattern Documentation
< 3.16:Desktop-integration-api-net-version-tutorial
Revision as of 21:34, 5 June 2017 by Tracy (talk | contribs) (Created new topic from branched topic Documentation:ServicePattern:desktop-integration-api-net-version-tutorial:AgentState:3.15)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 3.10 • 3.11 • 3.12 • 3.13 • 3.14 • 3.15 • 3.16 • 3.17 • 3.18

Agent State

Whenever the agent state changes, the following event will be emitted:

public event StateChangedCallback stateChangedCallback;


The UserState object from the callback provides information about the current agent state and the next agent state.


The following methods are used to set the agent state:

public ResultCode setReady();
  • For the Not Ready state with optional indication of the reason (the list of configured Not Ready reasons can be obtained in AgentPlace.notReadyReasons after a successful login),
public ResultCode setNotReady(string reason);


< Previous | Next >
< Previous | Next >