Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 508
   
8-20
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 8      Session Object
Methods
GetElement
See 
 for a description of the GetElement method.
GetNumProperties
See 
 for a description of the GetNumProperties method.
GetObjectFromObjectID
Given a string containing the UniqueObjectID of a call, an agent, or a skill group, the 
GetObjectFromObjectID method returns a pointer to the associated object.
Syntax
C++: 
bool GetObjectFromObjectID (string& uniqueObjectID,
CCtiosObject ** object);
COM: 
HRESULT GetObjectFromObjectID (/*[in]*/ BSTR uniqueObjectID,
/*[out]*/ IDispatch ** object, /*[out, retval]*/ VARIANT_BOOL * errorcode);
VB: 
GetObjectFromObjectID(uniqueObjectID As String, object as IDispatch) As Boolean
Java:
CtiOsObject GetObjectFromObjectID(java.lang.String sUID)
.NET:
System.Boolean GetObjectFromObjectID(System.String sUID, out CtiOsObject rObj)
Parameters
COM/C++/VB: uniqueObjectID
A string reference that contains the UniqueObjectID of the requested Call, Agent, or Skillgroup 
object.
.NET: sUID
A string reference that contains the UniqueObjectID of the requested Call, Agent, or Skillgroup 
object.
COM/C++: object
A pointer to either a CTIOSObject in C++ (which is a CILRefArg) or an IDispatch * pointing to 
either an ICall, an IAgent, or an ISkillGroup in COM.
.NET: rObj
A pointer to either a CTIOSObject in C++ (which is a CILRefArg) or an IDispatch * pointing to 
either an ICall, an IAgent, or an ISkillGroup in COM.
errorcode
An output parameter (return parameter in VB) that contains an error code from 
 in 
Return Values
COM: Default HRESULT return value. See 
C++, VB, .NET: A boolean indicating success or failure of the method.