Cisco Cisco Computer Telephony Integration OS 8.5 개발자 가이드
8-19
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 8 Session Object
Methods
The C++, Java, and .NET versions of this method return NULL if the value requested is not found or if
there is an error.
there is an error.
GetCurrentCall
The GetCurrentCall method returns the call that is currently selected. This method can be used as a way
for controls to communicate between each other which call is selected and therefore should be acted
upon. Use this method rather than GetValue(“CurrentCall”).
for controls to communicate between each other which call is selected and therefore should be acted
upon. Use this method rather than GetValue(“CurrentCall”).
Syntax
C++:
CCall * GetCurrentCall()
COM:
HRESULT GetCurrentCall(/*[out, retval]*/ ICall ** call)
VB:
GetCurrentCall () As CTIOSCLIENTLib.ICall
Java/.NET:
Call GetCurrentCall()
Parameters
call
An output parameter (return value in VB, C++, Java, and .NET) containing a pointer to a pointer to
an ICall that is the currently selected call.
an ICall that is the currently selected call.
Return Values
COM: Default CTI OS return values. See
Others: A pointer or reference to a Call that is the current call. This method returns NULL if the value
requested is not found or if there is an error.
requested is not found or if there is an error.
The C++, Java, and .NET versions of this method return NULL if the value requested is not found or if
there is an error.
there is an error.
GetCurrentSilentMonitor
The GetCurrentSilentMonitor method returns a pointer to the SilentMonitorManager object instance that
is set as the current manager in the session object.
is set as the current manager in the session object.
Syntax
C++:
CSilentMonitorManager * GetCurrentSilentMonitor();
COM:
HRESULT GetCurrentSilentMonitor (/*[out,retval]*/ ISilentMonitorManager **
pSilentMonitor);
VB:
GetCurrentSilentMonitor () As CTIOSCLIENTLIB. ISilentMonitorManager
Java,.NET:
Not available
Return Values
Pointer to the current Silent Monitor Manager in the session object.