Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 506
   
8-22
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 8      Session Object
Methods
Syntax
C++:
bool IsAgent()
COM:
HRESULT IsAgent (VARIANT_BOOL *bIsAgent)
VB:
IsAgent () As Boolean
Java:
boolean IsAgent()
.NET:
bool IsAgent()
Parameters
bIsAgent
Output parameter (return parameter in VB) that returns true if the current AgentMode connection is 
for an agent and false if it is for a supervisor.
Return Values
If the current agent is an agent and not a supervisor it returns true, otherwise it returns false.
IsCCMSilentMonitor
The IsCCMSilentMonitor method determines whether CTI OS has been configured to use Unified 
Communication Manager based silent monitor.
Syntax
C++:
bool IsCCMSilentMonitor()
COM:
HRESULT IsCCMSilentMonitor (VARIANT_BOOL * IsCCMSilentMonitor)
Java:
boolean IsCCMSilentMonitor()
.NET:
bool IsCCMSilentMonitor()
Parameters
None.
Return Values
If Unified Communication Manager based silent monitor has been configured, this method returns true, 
otherwise it returns false.
IsSupervisor
The IsSupervisor method checks if the current agent is a supervisor. 
Syntax
C++:
bool IsSupervisor()
COM:
HRESULT IsSupervisor (VARIANT_BOOL * bIsSupervisor)
VB:
IsSupervisor () As Boolean
Java:
boolean IsSupervisorMode()