Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 640
9-19
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 9      Agent Object
Methods
Remarks
The CTIOS server sends SkillGroup statistics in the 
OnSkillGroupStatisticsUpdated event of the SkillGroup object.
GetAgentState
The GetAgentState method returns the current state of the agent.
Syntax
C++:
enumCTIOS_AgentState GetAgentState()
COM:
HRESULT GetAgentState (/*[in]*/ long *state)
VB:
GetAgentState () As Long
Java:
int GetAgentState()
.NET:
AgentState GetAgentState()
Parameters
state
Output parameter (return parameter in VB) containing the current agent state 
in the form of one of the values in 
.
Return Value
For C++, VB, Java, and .NET, this method returns the current state of the agent.
GetAllProperties
See 
 for a description of the GetAllProperties method.
GetElement
See 
 for a description of the GetElement method.