smex Element
Communicates with platform components.
<smex attributes>
<bind attributes /> // Copies recognition results to page elements or calls a method of another page element
<param attributes /> // Custom configuration (optional)
</smex>
The Simple Messaging Extension (smex) element comprises the following members.
Contents | Description |
---|---|
bind | Copies all or part of the smex message to another element on the Web page, or calls a method on another page element. |
param | Specifies a Speech Platform configuration parameter. Optional. |
Attributes | |
id | Identifies the smex element. Optional. |
sent | Specifies the message to be sent to the platform component. Optional. |
timer | Specifies, in milliseconds, the time before an ontimeout event occurs. Optional. |
Properties | |
received | Returns the received message. Read-only. |
status | Returns the recent status of the object. Read-only. |
Events | |
onreceive | Occurs when the browser receives a platform message. |
ontimeout | Occurs when the time-out expires. |
onerror | Occurs when a communication error occurs. |
Remarks
The smex element is a Speech Application Language Tag (SALT) element that communicates with the external components of the SALT platform. The default smex element is used solely with the Telephony Interface Manager (TIM) for telephony call control.
See Also
dtmf Element | listen Element | param Element | prompt Element