Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
Chapter 9      Agent Object
Methods
9-20
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1) 
Output parameter (return parameter in VB) containing the current agent state 
in the form of one of the values in 
.
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.