Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
7-10
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 7      CtiOs Object
Methods
Parameters
key
Key ID of the value to be retrieved.
Returns
An Integer object containing a 32 bit signed integer value or null if error.
GetValueShortObj (Java only)
Retrieves a 16 bit short with the specified key from the array.
Syntax
Short GetValueShortObj( int iKey)
Short GetValueShortObj(short sKey)
Parameters
key
Key ID of the value to be retrieved.
Return Value
A Short object containing a 16 bit short value or null if error.
GetValueString
The GetValueString method returns the string value of the property with the specified name. Use this 
method when you know that the property is of string type. For all CILs and all types, a call to 
GetValueString for an argument that is of another type, for example Int, returns a string representation of the 
argument's Int value. 
Syntax
C++:
string GetValueString (string& key)
string GetValueString (int key)
string GetValueString (char* key)
COM:
HRESULT GetValueString (/*[in]*/ VARIANT* key, /*[out,retval]*/ BSTR* value)
VB:
GetValueString (key As VARIANT) As String
Java:
String GetValueString( String key )
String GetValueString (int key)
.NET:
S
ystem.Boolean GetValueString(Enum_CtiOs eKeyID, out System.String strValue)
System.Boolean GetValueString(System.String sPropName, out System.String strValue)