Cisco Cisco Computer Telephony Integration Option 8.5 Guia Do Programador

Página de 500
   
9-15
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 9      Agent Object
Methods
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 IPCC only.
GetMonitoredCall
The GetMonitoredCall method returns the call object that is currently being monitored.
Syntax
C++:
CCall* GetMonitoredCall()
COM:
HRESULT GetMonitoredCall (/*[out, retval]*/ICall **call)
VB:
GetMonitoredCall () As CTIOSCLIENTLib.ICall
Java:
Call GetMonitoredCall()
.NET:
Call GetMonitoredCall()