Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 506
   
12-25
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 12      Helper Classes
CILRefArg Class (C++, Java, and .NET only)
Syntax
String      GetUniqueObjectID() 
Parameters
None.
Return Values
If successful, it returns the unique objectID of the contained CtiOsObject. If no object is contained in the 
CilRefArg, it returns null.
Remarks
To obtain a unique object ID in C++, use bool GetValueString(string* pString).
GetValue
The GetValue method returns the reference to CTI OS object encapsulated in the CILRefArg. 
Syntax
C++:
  CCtiOsObject * GetValue():
Java: 
CCtiOsObject GetValue();
.NET:
 System.Boolean GetValue(out CtiOsObject sValue)
Output Parameters
.NET:sValue
Reference to the contained CtiOsObject derived class.
Return Values
C++: Returns NULL on failure.
.NET: Returns false if the method fails.
Java: Returns a null reference if the method fails.
SetValue
Sets the reference to the CTI OS Object in the CILRefArg.
Syntax
bool SetValue(CCtiOsObject * pObject);