Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
Chapter 7      CtiOs Object
Methods
7-18
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1) 
ReportError (Java and .NET only)
The ReportError method sets the value of the LastError property to iErrCode and 
writes the error to the log as critical.
Syntax
int ReportError(int iError)
Parameters
Error
The error to report.
Returns
The same error code that was passed in through iErrCode.
SetValue (Java and .NET)
The SetValue method adds a new property to the object’s property list and gives 
it the provided value. If the property already exists, it replaces its value with the 
one provided.
Syntax
boolean SetValue(int iKeyID, Arg rArg
boolean SetValue(int iKeyID, Arguments rArgs)boolean 
boolean SetValue(int iKeyID, boolean bValue) 
boolean SetValue(int iKeyID, CtiOsObject rObj)
boolean SetValue(int iKeyID, int iValue) 
boolean SetValue(int iKeyID, short nValue) 
boolean SetValue(int iKeyID, java.lang.String sValue)
boolean SetValue(java.lang.String sPropName, Arg rArg) 
 
boolean SetValue(java.lang.String sPropName, Arguments rArgs) 
boolean SetValue(java.lang.String sPropName, boolean bValue)
 
boolean SetValue(java.lang.String sPropName, CtiOsObject rObj)
boolean SetValue(java.lang.String sPropName, int iValue)