- Contents
Interaction Scripter Developer's Guide
CallObject.isHeld Property
Definition
This property indicates whether or not a call is on hold.
Syntax
CallObject.isHeld
Usage
Read Yes
Write No
Value Assigned
None.
Value Returned
- Boolean
-
If the call is currently on hold, returns True. Otherwise, returns False.
Example
function Hold() {
var CallObject = scripter.callObject;
if (CallObject.isHeld) {
CallObject.pickup();
} else {
CallObject.hold();
}
CallObject = null;
}