Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 668
 
9-19
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
 
Chapter 9      Agent Object
Methods
An optional input parameter containing a pointer or a reference to an 
Arguments array containing a member that is a nested Arguments array with 
the keyword SkillGroupNumbers. Within this array, each member has a string 
key of an integer starting with 1 and an integer value that is a skill group 
number to be enabled. If the parameter is NULL or missing, statistics will be 
enabled for all skill groups to which the agent belongs.
.NET:args
Refer to the description for optional_args above.
errorcode
An output parameter (return parameter in VB) that contains an error code 
from 
 in 
Return Value
Default CTI OS return values. See 
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