Руководство Разработчика для Cisco Cisco Computer Telephony Integration OS 8.5
8-18
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(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.
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.
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.
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”).
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.
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.
value requested is not found or if there is an error.