< property >
Description
The <property> element controls implementation platform settings. Properties are used to set values that affect platform behavior, such as the recognition process, timeouts, caching policy, etc. Please refer to Properties for list of properties.
Syntax
<property name="String" value="String"/>
Attributes
name | The name attribute indicates the property name. This attribute is required. |
value | The value attribute is the property value. This attribute is required. |
Main properties list:
- bargein
- bargeintype
- inputmodes
- interdigittimeout
- termchar
- termtimeout
- timeout
- control
Parents
<field>, <form>, <initial>, <menu>, <object>, <record>, <subdialog>, <transfer>, <vxml>
Children
None.
Extensions
None.
Limitations/Restrictions
The properties listed below are not supported for speech recognition: * confidencelevel * sensitivity * speedcaccuracy * completetimeout * incompletetimeout * maxspeechtimeout
Example Code
<?xml version="1.0"?> <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"> <property name="bargein" value="true"/> <form> <field name="hello"> <grammar type="text/x-grammar-choice-dtmf"> 1 {hello} </grammar> <prompt>This prompt can be barged in. Please say hello</prompt> <noinput>Say something</noinput> <filled> <prompt>Hello, world!</prompt> <goto nextitem="helloagain"/> </filled> </field> <field name="helloagain"> <property name="bargein" value="false"/> <grammar type="text/x-grammar-choice-dtmf"> 1 {hello} </grammar> <prompt>This prompt cannot be barged in. Please say hello</prompt> <noinput>Say something</noinput> <filled> <prompt>Hello, world!</prompt> </filled> </field> </form> </vxml>