Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 490
   
8-17
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 8      Session Object
Methods
GetAllSkillGroups
The GetAllSkillGroups method returns an array of object IDs. Each object ID is associated with a skill 
group stored in the CIL.
Syntax
C++:
Arguments & GetAllSkillGroups()
COM:
HRESULT GetAllSkillGroups(/*[out, retval]*/ VARIANT *args)
VB:
GetAllSkillGroups (args As VARIANT)
Java , .NET:
 Arguments 
GetAllSkillGroups()
Parameters
args 
C++, Java, and .NET: A pointer or a reference to an Arguments array where each member has a 
string key that is the UniqueObjectID of a skill group and a value that is a reference to a CilRefArg 
that is a pointer to the skill group object. 
COM /VB: A pointer to a VARIANT containing a SAFEARRAY of pointers to ISkillGroups.
Return Values
COM/VB: Default CTI OS return values. See 
Java/.NET: Returns NULL if the value requested is not found or if there is an error. If the method 
succeeds, it returns a pointer or a reference to an Arguments array where each member has a string key 
that is the UniqueObjectID of a skill group and a value that is a reference to a CilRefArg that is a pointer 
to the skill group object.
C++: An empty Arguments array if the value requested is not found or if there is an error. If the method 
succeeds, it returns a pointer or a reference to an Arguments array where each member has a string key 
that is the UniqueObjectID of a skill group and a value that is a reference to a CilRefArg that is a pointer 
to the skill group object.
GetCurrentAgent
The GetCurrentAgent method returns the Agent specified when the Agent Mode connection was 
established. Use this method rather than GetValue(“CurrentAgent”).
Syntax
C++:
 Agent* GetCurrentAgent()
COM:
 HRESULT GetCurrentAgent(/*[out, retval]*/ IAgent *agent)
VB:
 GetCurrentAgent () As CTIOSCLIENTLib.IAgent
Java,.NET:
 Agent GetCurrentAgent()
Parameters
agent