Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 508
   
9-15
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 9      Agent Object
Methods
Return Value
For C++, VB, Java, and .NET, this method returns the current state of the agent.
GetAllProperties
See 
 for a description of the GetAllProperties method.
GetElement
See 
 for a description of the GetElement method.
GetMonitoredAgent
The GetMonitoredAgent method returns the agent object that is currently being 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.
Return Value
This method returns the current monitored agent. The C++, Java, and .NET versions return null if no 
agent is currently being monitored.
Remarks
Supported for use with Unified CCE only.
GetMonitoredCall
The GetMonitoredCall method returns the call object that is currently being monitored.
Syntax
C++:
CCall* GetMonitoredCall()