Cisco Cisco Computer Telephony Integration Option 8.5 Guida Dello Sviluppatore
Chapter 9 Agent Object
Methods
9-20
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
GetMonitoredAgent
The GetMonitoredAgent method returns the agent object that is currently being
monitored.
monitored.
Syntax
C++:
CAgent* GetMonitoredAgent()
COM:
HRESULT GetMonitoredAgent (/*[out, retval]*/IAgent **agent)
VB:
GetMonitoredAgent () As CTIOSCLIENTLib.IAgent
Java:
Agent GetMonitoredAgent()
.NET:
Agent GetMonitoredAgent()
Parameters
agent
Output parameter (return parameter in VB) that contains a pointer to a pointer
to an Agent object containing the currently monitored agent.
to an Agent object containing the currently monitored agent.
Return Value
This method returns the current monitored agent. The C++, Java, and .NET
versions return null if no agent is currently being monitored.
versions return null if no agent is currently being monitored.
Remarks
Supported for use with IPCC only.
GetMonitoredCall
The GetMonitoredCall method returns the call object that is currently being
monitored.
monitored.
Syntax
C++:
CCall* GetMonitoredCall()
COM:
HRESULT GetMonitoredCall (/*[out, retval]*/ICall **call)