Description
Allows interaction with a custom extension. A VoiceXML
platform may have platform-specific functionality that
an application wants to use, such as speaker verification,
native components, additional telephony, etc. Such
platform-specific objects are accessed using the
<object> element, which is analogous to the HTML
<OBJECT> element.
Syntax
<object
name="string"
expr="ECMAScript_Expression"
cond="ECMAScript_Expression"
classid="URI"
codebase="URI"
codetype="string"
data="URI"
type="string"
archive="URI"
fetchhint="prefetch" | "safe"
fetchtimeout="time_interval"
maxage="integer"
maxstale="integer">
child elements
</object> |
Attributes
|
Attribute |
Description |
|
name |
The name of this object. This variable can be referenced anywhere within the object's form. Optional. (Defaults to an inaccessible internal variable.) |
|
expr |
An ECMAScript expression to be evaluated and used as the initial value of
this object. This object will be visited only if the expression
evaluates to |
|
cond |
An ECMAScript expression to be evaluated and used as a boolean condition.
This object will be visited only if the expression evaluates to
|
|
classid |
The URI specifying the location of the object's implementation. Optional. |
|
codebase |
The base path used to resolve relative URIs specified by
|
|
codetype |
The content type of data expected when downloading the
object specified by |
|
data |
The URI specifying the location of the object's data. If
it is a relative URI, it is interpreted relative to the |
|
type |
The content type of the data specified by the |
|
archive |
A space-separated list of URIs for archives containing
resources relevant to the object, which may include the resources specified
by the |
|
fetchhint |
Defines when the object should be fetched. Optional.
|
|
fetchtimeout |
The length of time to wait for the object to be fetched
before throwing an |
|
maxage |
Indicates that this document is willing to use a cached copy of the object only while the age of the cached copy is less than or equal to the number of seconds specified by this attribute. Optional. |
|
maxstale |
Indicates that this document is willing to use a cached copy of the object that has exceeded its expiration time by as much as the number of seconds specified by this attribute. Optional. |
Parents
Children
<audio>, <catch>, <error>, <filled>, <help>, <noinput>, <nomatch>, <param>, <prompt>, <property>, <value>, #PCDATA
Extensions
None.
Limitations/Restrictions
error.unsupported.objectname will
be thrown (where objectname is a fixed string; it is not
substituted with the name of the object).