|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcisco.uc.cuae.legacy.MediaControl.VoiceRecognitionOptions
public static class MediaControl.VoiceRecognitionOptions
| Field Summary | |
|---|---|
MediaControl.AudioFileEncoding |
audioFileEncoding
The encoding of the audio file: ulaw, alaw, pcm, or adpcm. |
java.lang.Long |
audioFileSampleRate
The sample rate of the audio file (in kHz). |
java.lang.Long |
audioFileSampleSize
The sample size used in the audio file (in bits). |
java.lang.Long |
commandTimeout
Indicates a command timeout value (in milliseconds). |
java.lang.String[] |
grammars
Grammars |
java.lang.String[] |
prompts
Prompts |
java.lang.Integer |
speed
The amount by which to modify the speed of audio playback. |
java.lang.String |
state8
Optional user state information which is guaranteed present as the State event parameter in VoiceRecognition_Complete or VoiceRecognition_Failed. |
java.lang.Long |
termCondMaxTime
The amount of time (in milliseconds) that can elapse before terminating the voice recognition operation. |
java.lang.Long |
termCondNonSilence
The amount of non-silence (in milliseconds) to observe before terminating the voice recognition operation. |
java.lang.Long |
termCondSilence
The amount of silence (in milliseconds) to observe before terminating the record operation. |
java.lang.Integer |
timeout
The Timeout property specifies to the Application Runtime Environment how long to wait for a response from the provider for the current action. |
java.lang.Integer |
volume
The amount by which to modify the volume (in decibels) of audio playback. |
| Constructor Summary | |
|---|---|
MediaControl.VoiceRecognitionOptions()
Constructs the VoiceRecognitionOptions. |
|
MediaControl.VoiceRecognitionOptions(java.lang.Long termCondNonSilence,
java.lang.String[] grammars,
java.lang.Long commandTimeout,
java.lang.Integer volume,
java.lang.Integer speed,
java.lang.String state8,
java.lang.Long termCondSilence,
java.lang.Long audioFileSampleRate,
java.lang.Long audioFileSampleSize,
MediaControl.AudioFileEncoding audioFileEncoding,
java.lang.String[] prompts,
java.lang.Integer timeout,
java.lang.Long termCondMaxTime)
Constructs the VoiceRecognitionOptions. |
|
| Method Summary | |
|---|---|
MediaControl.AudioFileEncoding |
getAudioFileEncoding()
Gets the value. |
java.lang.Long |
getAudioFileSampleRate()
Gets the value. |
java.lang.Long |
getAudioFileSampleSize()
Gets the value. |
java.lang.Long |
getCommandTimeout()
Gets the value. |
java.lang.String[] |
getGrammars()
Gets the value. |
java.lang.String[] |
getPrompts()
Gets the value. |
java.lang.Integer |
getSpeed()
Gets the value. |
java.lang.String |
getState8()
Gets the value. |
java.lang.Long |
getTermCondMaxTime()
Gets the value. |
java.lang.Long |
getTermCondNonSilence()
Gets the value. |
java.lang.Long |
getTermCondSilence()
Gets the value. |
java.lang.Integer |
getTimeout()
Gets the value. |
java.lang.Integer |
getVolume()
Gets the value. |
void |
setAudioFileEncoding(MediaControl.AudioFileEncoding value)
Sets the value. |
void |
setAudioFileSampleRate(java.lang.Long value)
Sets the value. |
void |
setAudioFileSampleSize(java.lang.Long value)
Sets the value. |
void |
setCommandTimeout(java.lang.Long value)
Sets the value. |
void |
setGrammars(java.lang.String[] value)
Sets the value. |
void |
setPrompts(java.lang.String[] value)
Sets the value. |
void |
setSpeed(java.lang.Integer value)
Sets the value. |
void |
setState8(java.lang.String value)
Sets the value. |
void |
setTermCondMaxTime(java.lang.Long value)
Sets the value. |
void |
setTermCondNonSilence(java.lang.Long value)
Sets the value. |
void |
setTermCondSilence(java.lang.Long value)
Sets the value. |
void |
setTimeout(java.lang.Integer value)
Sets the value. |
void |
setVolume(java.lang.Integer value)
Sets the value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.Long termCondNonSilence
public java.lang.String[] grammars
public java.lang.Long commandTimeout
public java.lang.Integer volume
public java.lang.Integer speed
public java.lang.String state8
public java.lang.Long termCondSilence
public java.lang.Long audioFileSampleRate
public java.lang.Long audioFileSampleSize
public MediaControl.AudioFileEncoding audioFileEncoding
public java.lang.String[] prompts
public java.lang.Integer timeout
public java.lang.Long termCondMaxTime
| Constructor Detail |
|---|
public MediaControl.VoiceRecognitionOptions()
public MediaControl.VoiceRecognitionOptions(java.lang.Long termCondNonSilence,
java.lang.String[] grammars,
java.lang.Long commandTimeout,
java.lang.Integer volume,
java.lang.Integer speed,
java.lang.String state8,
java.lang.Long termCondSilence,
java.lang.Long audioFileSampleRate,
java.lang.Long audioFileSampleSize,
MediaControl.AudioFileEncoding audioFileEncoding,
java.lang.String[] prompts,
java.lang.Integer timeout,
java.lang.Long termCondMaxTime)
termCondNonSilence - The amount of non-silence (in milliseconds) to observe before terminating
termCondNonSilence the voice recognition operation. If this condition is met, the
termCondNonSilence VoiceRecognition command will result in the VoiceRecognition_Complete
termCondNonSilence event.
termCondNonSilencegrammars - Grammars
grammarscommandTimeout - Indicates a command timeout value (in milliseconds).
commandTimeoutvolume - The amount by which to modify the volume (in decibels) of audio playback.
volume Valid values range from -10 to 10.
volumespeed - The amount by which to modify the speed of audio playback. Valid values
speed range from -10 to 10.
speedstate8 - Optional user state information which is guaranteed present as the State
state8 event parameter in VoiceRecognition_Complete or VoiceRecognition_Failed.
state8termCondSilence - The amount of silence (in milliseconds) to observe before terminating the
termCondSilence record operation. If this condition is met, the VoiceRecognition command
termCondSilence will result in the >VoiceRecognition_Complete event with a
termCondSilence TerminationCondition of silence.
termCondSilenceaudioFileSampleRate - The sample rate of the audio file (in kHz). Valid values are 6, 8, or 11.
audioFileSampleRate 11 should be avoided as it has a higher impact on the media engine. If not
audioFileSampleRate specified, the media engine configuration file defines the sample rate to
audioFileSampleRate use, which by default is 8.
audioFileSampleRateaudioFileSampleSize - The sample size used in the audio file (in bits). Valid values are 4, 8, or
audioFileSampleSize 16. 4 and 16 should be avoided as each has a higher impact on the media
audioFileSampleSize engine.
audioFileSampleSizeaudioFileEncoding - The encoding of the audio file: ulaw, alaw, pcm, or adpcm. Pcm and adpcm
audioFileEncoding should be avoided as each has a higher impact on the media engine. If not
audioFileEncoding specified, the media engine configuration file defines the file encoding to
audioFileEncoding use, which by default is ulaw.
audioFileEncodingprompts - Prompts
promptstimeout - The Timeout property specifies to the Application Runtime Environment how
timeout long to wait for a response from the provider for the current action. The
timeout ReturnValue returned in this case is Timeout. The value must be a literal
timeout value in milliseconds.
timeouttermCondMaxTime - The amount of time (in milliseconds) that can elapse before terminating the
termCondMaxTime voice recognition operation. If this condition is met, the VoiceRecognition
termCondMaxTime command will result in the VoiceRecognition_Complete event.
termCondMaxTime| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Long getTermCondNonSilence()
public void setTermCondNonSilence(java.lang.Long value)
value - the value.public java.lang.String[] getGrammars()
public void setGrammars(java.lang.String[] value)
value - the value.public java.lang.Long getCommandTimeout()
public void setCommandTimeout(java.lang.Long value)
value - the value.public java.lang.Integer getVolume()
public void setVolume(java.lang.Integer value)
value - the value.public java.lang.Integer getSpeed()
public void setSpeed(java.lang.Integer value)
value - the value.public java.lang.String getState8()
public void setState8(java.lang.String value)
value - the value.public java.lang.Long getTermCondSilence()
public void setTermCondSilence(java.lang.Long value)
value - the value.public java.lang.Long getAudioFileSampleRate()
public void setAudioFileSampleRate(java.lang.Long value)
value - the value.public java.lang.Long getAudioFileSampleSize()
public void setAudioFileSampleSize(java.lang.Long value)
value - the value.public MediaControl.AudioFileEncoding getAudioFileEncoding()
public void setAudioFileEncoding(MediaControl.AudioFileEncoding value)
value - the value.public java.lang.String[] getPrompts()
public void setPrompts(java.lang.String[] value)
value - the value.public java.lang.Integer getTimeout()
public void setTimeout(java.lang.Integer value)
value - the value.public java.lang.Long getTermCondMaxTime()
public void setTermCondMaxTime(java.lang.Long value)
value - the value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||