Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 490
   
12-24
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 12      Helper Classes
CILRefArg Class (C++, Java, and .NET only)
In addition to the methods inherited from the Arg class, the CILRefArg class contains the methods listed 
in 
.
GetType
The GetType method returns the type of the data stored by the Arg. For a CilRefArg, this is always 
ARG_REFERENCE.
Syntax
C++:
enumArgTypes GetType()
COM:
HRESULT GetType(/*[out, retval]*/ int* type);
VB:
GetType () as Integer 
Java:
int GetType()
.NET:
Use the GetArgType method.
Output Parameters
type
Integer that receives the enumerated constant that identifies the data type stored in Arg. In this case, 
that data type is ARG_REFERENCE.
Return Values
COM: Default HRESULT return values. See 
Others: Returns the enumerated value that identifies the data type stored in the Arg (see 
For CilRefArg, this is always ARG_REFERENCE.
GetUniqueObjectID (Java and .NET only)
The GetUniqueObjectID method returns the unique objectID of the contained CtiOsObject.
Syntax
String      GetUniqueObjectID() 
Table 12-6
CILRefArg Class Methods
Method
Description
GetType
Returns the ARG_REFERENCE.
GetUniqueObjectID
Returns the UID of the contained CtiOsObject. 
GetValue
Returns the encapsulated pointer in the object.
SetValue
Encapsulates the pointer to CTI OS object into the 
CILRefArg object.