Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 508
   
7-12
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 7      CtiOs Object
Methods
GetValueUShortObj (Java only)
Retrieves a 16 bit unsigned short with the specified key from the array. 
Syntax
Integer GetValueUShortObj( int iKey)
Integer GetValueUShortObj( String sKey)
Parameters
key
Key ID of the value to be retrieved.
Returns
An Integer object containing the 16 bit unsigned short value or null if error.
IsValid
The IsValid method tests to see if the object includes the specified property.
Syntax
C++: 
bool IsValid (string& key)
 
bool IsValid (char* key)
 
bool IsValid (int key)
COM:
  HRESULT IsValid (/*[in]*/ VARIANT* key, /*[out,retval]*/ VARIANT_BOOL* value)
VB:
IsValid (key As VARIANT)as Bool 
Java:
boolean IsValid( String key)
boolean IsValid (int key)
.NET:
virtual bool IsValid(Enum_CtiOs eKeyID)
virtual bool IsValid(System.String sKey)
Parameters
C++, Java: key
A key containing the name or ID of the property whose validity you are testing.
COM, VB: key
VARIANT containing the name or ID of the property to retrieve.
.NET: eKeyID
The ID of the property whose validity you are testing.
.NET: sKey
The name of the property whose validity you are testing.