Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
8-18
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 8      Session Object
Methods
COM:
HRESULT GetAllSkillGroups(/*[out, retval]*/ VARIANT *
args)
VB:
GetAllSkillGroups (args As VARIANT)
Java , .NET:
 Arguments 
GetAll
SkillGroups()
Parameters
args 
C++, Java, and .NET: A pointer or a fereence 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
An output parameter (return value in VB, C++, Java, and .NET) containing a pointer to a pointer to 
an IAgent that is the currently selected agent.
Return Values
COM: Default CTI OS return values. See 
Others: A pointer or reference to an Agent that is the current agent. This method returns NULL if the 
value requested is not found or if there is an error.