dtmfresult Property

  Microsoft Speech Technologies Homepage

Contains the collected results of dual tone multi-frequency (DTMF) input. Read-only.

stringVar = dtmf.dtmfresult 

Remarks

The dtmfresult property is an Extensible Markup Language Document Object Model (XML DOM) node containing an XML document containing semantic markup language that specifies the collected results of DTMF input. The markup language used by the Speech Application SDK is Speech Application Programming Interface (SAPI) Semantic Markup Language (SML).

If an onsilence event occurs, the dtmfresult property returns null.

Example

The following code demonstrates the use of the dtmfresult property.

function Handleonreco() {
   textbox1.value = event.srcElement.dtmfresult.xml;
}

See Also

dtmf Element |  bind Element |  listen Element