Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 490
   
8-22
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 8      Session Object
Methods
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()
.NET:
bool IsSupervisorMode()
Parameters
bIsSupervisor
Output parameter (return parameter in VB) that returns true if the current AgentMode connection is 
for a supervisor and false if it is for an agent.
Return Values
If the current agent is a supervisor it returns true, otherwise it returns false.
IsValid
See 
 for a description of the IsValid method.
RemoveEventListener (Java and .NET)
The RemoveEventListener method unsubscribes a Java IGenericEvents object as a listener from a 
particular subscriber list.
Syntax
int RemoveEventListener(IGenericEvents Listener, int iListID)
Parameters
Listener
The IGenericEvents object that is unsubscribing from events.
ListID
The ID of the subscriber list from which the Listener is to be removed.
Returns
A CtiOs_Enums.CilError code indicating success or failure.