Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
10-5
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
 
Chapter 10      Call Object
Properties
Dim MyECCData As CTIOSARGUMENTSLib.Arguments
If MyCall.IsValid(CTIOS_ECC) Then
Set MyECCData = MyCall.GetValueArray(CTIOS_ECC)
Else
Set MyECCData = New CTIOSARGUMENTSLib.Arguments
End If
MyECCData.AddItem("user.MyECC", "FirstECCVariable")
MyECCData.AddItem("user.MyArray[2]", 2222)
MyRequestArgs.AddItem("ECC", MyECCData)
MyCall.SetCallData(MyRequestArgs)
The same thing in Java would be as follows:
Arguments rRequestArgs = new Arguments();
if(Call != null)
{
   Arguments rArgEcc = Call.GetValueArray(CTIOS_ECC);
   if(null == rArgEcc)
   {
      rArgEcc = new Arguments();
   }
   rArgEcc.SetValue("user.MyEcc", 22222);
   rArgEcc.SetValue("user.MyArray[3]", "new data");
   rRequestArgs.SetValue(CTIOS_ECC, rArgEcc);
   Call.SetCallData(rRequestArgs);
}
Properties
 lists the available call object properties.
Note
The data type listed for each keyword is the standardized data type discussed in 
the section 
 in 
See 
 for the appropriate language specific types for these keywords.