Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
7-8
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 7      CtiOs Object
Methods
Arg& GetValue (char * key)
COM:
HRESULT GetValueArray (/*[in]*/ VARIANT * key, /*[out,retval]*/ IArguments ** 
value)
VB:
GetValueArray (key As VARIANT) As CTIOSCLIENTLib.IArguments
Java:
Arguments GetValueArray( String key )
Arguments GetValueArray (int key)
.NET:
System.Boolean GetValueArray(Enum_CtiOs eKeyID, out Arguments arArguments)
Parameters
key
The name of the property whose value you want.
value
COM: An output parameter (return value in VB, C++, and Java) containing an arArguments** to 
the returned value of the property. 
.NET: An output parameter containing the Arguments array value upon success. Upon failure, this 
parameter is set to null.
Return Value
COM:
 
Default HRESULT return value. See 
 
.NET: Returns true if the value is retrieved. Returns false if the value is not found.
Others: A reference to an Arguments array containing the value of the specified property.
GetValueBoolObj (Java and .NET only)
The GetValueBool method retrieves the Boolean value of the specified property. 
Syntax
Boolean GetValueBoolObj(int iKey)
Boolean GetValueBoolObj(String sKey)
Parameters
Key
Key ID for the object to be retrieved.
Returns
A Boolean object representation of the contained value or null if error.
GetValueInt
The GetValueInt method returns the integer value of the specified property. Use this method when you 
know that the property has an integer type.