Interface IPromptQueryConfig_Voice
-
public interface IPromptQueryConfig_VoiceMixin for aprompt query configuration modelthat allows the user to define the name or ID of a voice to use when synthesizing speech.Use of this mixin is optional, but ensures a consistent name for the text parameters property. When different prompt service handlers use the same property name, switching between different prompt service handlers preserves the configured data.
See also the
<xp:voice/>Faces component from thehttp://www.xima.de/taglib/xfc/promptnamespace, which provides a user interface for editing the data defined by this mixin.- Since:
- 8.5.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_VOICEThe name of the voice attribute.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetVoice()Gets the name or ID of the voice to use for speech synthesis.voidsetVoice(String voice)Sets the name or ID of the voice to use for speech synthesis.
-
-
-
Field Detail
-
ATTR_VOICE
static final String ATTR_VOICE
The name of the voice attribute. If you implement a custom serialization / deserialization, use this name for the attribute to increase compatibility with other prompt service handlers.- See Also:
- Constant Field Values
-
-