ListenElementCompleteEvent Class

ListenElementCompleteEvent Class

Raised by:  TAS
Base Class:  ListenElementFiredEvent
Derived Classes:  None

ListenElementCompleteEvent is raised by the platform when a listen element passes a recognition result event (onreco, onspeechdetected, onsilence, onnoreco or onerror) back to the application script.

Note Certain nested properties contained in the inherited SpeechContext property, defined by CommonEvent, are important when using the Log Analysis tools to associate a user's utterance with the phone call during which it was recorded.

These include the RequestID, ApplicationInstance, and PageUri. For more information about these properties, see the Speech Context section of the CommonEvent topic.

ListenElementCompleteEvent implements RecoResult, and has the following properties:

Property

Type

Description

Operation

String

The name of the script event that was raised or method that was called (for example, onreco, start, and onerror).

AttributesAndProperties

String

A string containing all attributes and properties of the element, including XML type information with the XML DOM object and recognition results.
If the property is not an XML type, only strings and numbers are included.

ID

String

The ID attribute of the element.

Status

Integer

The SALT status property.

RecoResult

String

The result from the recognition.
If the listen element is designated confidential, this should be an empty string.

See Also

Event Logging Class Hierarchy | Logging and Analyzing Events | CommonEvent | Event Filters | Filtering Logged Events