Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 546
 
Chapter 9      Agent Object
Methods
9-18
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
COM:
HRESULT EnableSkillGroupStatistics (/*[in]*/  IArguments * 
optional_args, /* [out, retval]*/ int * errorcode)
VB:
EnableSkillGroupStatistics (optional_args As 
CTIOSCLIENTLib.IArguments) As Long
Java:
int EnableSkillGroupStatistics(Arguments optional_args)
Parameters
optional_args
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.
errorcode
An output parameter (return parameter in VB) that contains an error code 
from 
 in 
Return Value
Default CTI OS return values. Se
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