Feedback

  • Contents
 

Queue.objectAddedHandler Callback Property

Definition

Queue.objectAddedHandler allows you to specify the name of a procedure that will be called when an object is added to a queue. See queue.callObjectAddedHandler for example code.

Usage

Read Yes

Write Yes

Compatibility

This callback is compatible with scripts for Scripter .NET Client or Interaction Connect.

Syntax

Queue.objectAddedHandler(TypeId, ObjectId)

Parameters

TypeId

An integer representing the type of object that was added to the queue.

2

Call Object

19

Chat Object

ObjectId

The object's identifier.

Value Assigned

Function Pointer

A function pointer is the address in memory where a user->defined function is loaded. Function pointers pass the address of a user-defined function to another function declared within an application. In a script, the function pointer is simply the name of the function. For example, if your code contains a function named "foo", the function pointer would also be named "foo". Function pointers are used when you wish to change the value of a property. When defining your custom function, you should define TypeId and ObjectId as arguments to the function. e.g.: function foo(TypeId, ObjectId).