Cisco Cisco Computer Telephony Integration Option 9.0 Guida Dello Sviluppatore
8-20
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(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.
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.
object.
.NET: sUID
A string reference that contains the UniqueObjectID of the requested Call, Agent, or Skillgroup
object.
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.
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.
either an ICall, an IAgent, or an ISkillGroup in COM.
errorcode
An output parameter (return parameter in VB) that contains an error code from
Return Values
COM: Default HRESULT return value. See
C++, VB, .NET: A boolean indicating success or failure of the method.