Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
6-117
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 6      Event Interfaces and Events
IGenericEvents Interface
Parameters
args
Arguments array containing the following fields.
IGenericEvents Interface
The IGenericEvents interface receives Generic events. Unlike other interfaces that 
have a callback method for each event, the IGenericEvents interface has one 
method that passes the CtiOs_Enums.EventID code and the Arguments for the 
event.
OnEvent
Passes the eventID code and arguments for generic events received by the 
IGenericEvents interface.
Syntax
JAVA:
 void OnEvent(int iEventID, Arguments rArgs
.NET:
 void OnEvent(int iEventID, 
Cisco.CtiOs.Cil.EventPublisher.EventPublisherEventArgs args)
Keyword
Type
Description
MonitoredUniqueObject
ID
STRING
Unique Object ID of the object being 
monitored
SMSessionKey
UNSIGNED 
SHORT
Unique identifier for the Silent 
Monitor Session.
StatusCode
SHORT
One of the ISilentMonitorEvent status 
codes in