Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 500
   
7-13
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 7      CtiOs Object
Methods
COM: value
An output parameter (return parameter in VB) containing a VARIANT_BOOL pointer indicating 
whether or not a property with the specified name exists for the object.
Return Value
COM:
 
Default HRESULT return value. See 
Others: A boolean indicating whether or not a property with the specified name exists for the object.
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)
boolean SetValue(java.lang.String sPropName, short nValue) 
boolean SetValue(java.lang.String sPropName, java.lang.String sValue)
boolean SetValueUInt (int key, long value)