Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer_guide:voicexml_references:elements:property [2015/10/27 21:42] (current)
borja created
Line 1: Line 1:
 +====== < 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 =====
 +
 +<​code>​
 +<​property
 +name="​String"​
 +value="​String"/>​
 +</​code>​
 +
 +===== 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 =====
 +
 +<​code>​
 +<​field>,​ <​form>,​ <​initial>,​ <​menu>,​ <​object>,​ <​record>,​ <​subdialog>,​ <​transfer>,​ <​vxml>​
 +</​code>​
 +
 +===== Children =====
 +
 +<​code>​
 +None.
 +</​code>​
 +
 +===== Extensions =====
 +
 +<​code>​
 +None.
 +</​code>​
 +
 +===== Limitations/​Restrictions =====
 +
 +<​code>​
 +The properties listed below are not supported for speech recognition:​
 +* confidencelevel ​
 +* sensitivity ​
 +* speedcaccuracy ​
 +* completetimeout ​
 +* incompletetimeout ​
 +* maxspeechtimeout ​
 +</​code>​
 +
 +===== Example Code =====
 +
 +<​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>​
 +</​code>​