Interface IPromptQueryConfig_SingleAudioInput
-
public interface IPromptQueryConfig_SingleAudioInputMixin for aquery connection configuration modelthat allows the user to configure whether the query accepts an audio file as afile input parameter. There are three possible states: does not accept a file, accepts an optional file, or requires a file. Usually configurable via a tri-state checkbox or select widget in the user interface.The query may also accept other files in addition to the single audio file. It is up to implementations to define where the audio file is stored in the list of
file inputs. If the query does not allow other files, implementations are encouraged to use afile list descriptorwith a singlefile value descriptorfor theDEFAULT_FILE_KEY.See also the
<xp:singleAudioInput/>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_SINGLE_AUDIO_INPUTThe name of the single audio input attribute.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SingularFileModegetSingleAudioInput()Gets whether an audio file is allowed as a file input parameter for the prompt query.voidsetSingleAudioInput(SingularFileMode singleAudioInput)Sets whether an audio file is allowed as a file input parameter for the prompt query.
-
-
-
Field Detail
-
ATTR_SINGLE_AUDIO_INPUT
static final String ATTR_SINGLE_AUDIO_INPUT
The name of the single audio input 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
-
-
Method Detail
-
getSingleAudioInput
SingularFileMode getSingleAudioInput()
Gets whether an audio file is allowed as a file input parameter for the prompt query.- Returns:
- Whether a single audio input is allowed.
-
setSingleAudioInput
void setSingleAudioInput(SingularFileMode singleAudioInput)
Sets whether an audio file is allowed as a file input parameter for the prompt query.- Parameters:
singleAudioInput- Whether a single audio input is allowed.
-
-