|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcisco.uc.cuae.legacy.MediaControl.PlayOptions
public static class MediaControl.PlayOptions
| 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[] |
prompts
Promopts |
java.lang.Integer |
speed
The amount by which to modify the speed of audio playback. |
java.lang.String |
state7
Arbitrary, user-defined state information which is passed back as the State event parameter in Play_Complete or Play_Failed. |
java.lang.String |
termCondDigit
A specific digit that will cause the play operation to terminate. |
java.lang.String |
termCondDigitList
A list of digits that will cause the play operation to terminate, if any one of the digits in the list is inputted. |
java.lang.Long |
termCondMaxDigits
The number of digits that will cause the play operation to terminate. |
java.lang.Long |
termCondMaxTime
The amount of time (in milliseconds) that can elapse before terminating the play operation. |
java.lang.Long |
termCondNonSilence
The amount of non-silence (in milliseconds) to observe before terminating the Play operation. |
java.lang.Long |
termCondSilence
The amount of silence (in milliseconds) to observe before terminating the Play 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.PlayOptions()
Constructs the PlayOptions. |
|
MediaControl.PlayOptions(java.lang.Long termCondNonSilence,
java.lang.String[] prompts,
java.lang.Long commandTimeout,
java.lang.Integer volume,
java.lang.Integer speed,
java.lang.String state7,
java.lang.Long termCondMaxTime,
java.lang.Long termCondMaxDigits,
java.lang.String termCondDigit,
java.lang.String termCondDigitList,
java.lang.Long termCondSilence,
java.lang.Integer timeout,
java.lang.Long audioFileSampleRate,
java.lang.Long audioFileSampleSize,
MediaControl.AudioFileEncoding audioFileEncoding)
Constructs the PlayOptions. |
|
| 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[] |
getPrompts()
Gets the value. |
java.lang.Integer |
getSpeed()
Gets the value. |
java.lang.String |
getState7()
Gets the value. |
java.lang.String |
getTermCondDigit()
Gets the value. |
java.lang.String |
getTermCondDigitList()
Gets the value. |
java.lang.Long |
getTermCondMaxDigits()
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 |
setPrompts(java.lang.String[] value)
Sets the value. |
void |
setSpeed(java.lang.Integer value)
Sets the value. |
void |
setState7(java.lang.String value)
Sets the value. |
void |
setTermCondDigit(java.lang.String value)
Sets the value. |
void |
setTermCondDigitList(java.lang.String value)
Sets the value. |
void |
setTermCondMaxDigits(java.lang.Long 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[] prompts
public java.lang.Long commandTimeout
public java.lang.Integer volume
public java.lang.Integer speed
public java.lang.String state7
public java.lang.Long termCondMaxTime
public java.lang.Long termCondMaxDigits
public java.lang.String termCondDigit
public java.lang.String termCondDigitList
public java.lang.Long termCondSilence
public java.lang.Integer timeout
public java.lang.Long audioFileSampleRate
public java.lang.Long audioFileSampleSize
public MediaControl.AudioFileEncoding audioFileEncoding
| Constructor Detail |
|---|
public MediaControl.PlayOptions()
public MediaControl.PlayOptions(java.lang.Long termCondNonSilence,
java.lang.String[] prompts,
java.lang.Long commandTimeout,
java.lang.Integer volume,
java.lang.Integer speed,
java.lang.String state7,
java.lang.Long termCondMaxTime,
java.lang.Long termCondMaxDigits,
java.lang.String termCondDigit,
java.lang.String termCondDigitList,
java.lang.Long termCondSilence,
java.lang.Integer timeout,
java.lang.Long audioFileSampleRate,
java.lang.Long audioFileSampleSize,
MediaControl.AudioFileEncoding audioFileEncoding)
termCondNonSilence - The amount of non-silence (in milliseconds) to observe before terminating
termCondNonSilence the Play operation. If this condition is met, the Play command will result
termCondNonSilence in the Play_Complete event with a TerminationCondition of nonsilence.
termCondNonSilenceprompts - Promopts
promptscommandTimeout - Indicates a command timeout value (in milliseconds). If this condition is
commandTimeout met, the Play command will result in the Play_Complete event with a
commandTimeout TerminationCondition of timeout.
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.
speedstate7 - Arbitrary, user-defined state information which is passed back as the State
state7 event parameter in Play_Complete or Play_Failed.
state7termCondMaxTime - The amount of time (in milliseconds) that can elapse before terminating the
termCondMaxTime play operation. If this condition is met, the Play command will result in
termCondMaxTime the Play_Complete event with a TerminationCondition of maxtime.
termCondMaxTimetermCondMaxDigits - The number of digits that will cause the play operation to terminate. If
termCondMaxDigits this condition is met, the Play command will result in the Play_Complete
termCondMaxDigits event with a TerminationCondition of maxdigits. Note that this termination
termCondMaxDigits condition is only valid if one is playing to a ConnectionId.
termCondMaxDigitstermCondDigit - A specific digit that will cause the play operation to terminate. If this
termCondDigit condition is met, the Play command will result in the Play_Complete event
termCondDigit with a TerminationCondition of digit. If you wish to know what digit or
termCondDigit digits were pushed, use GatherDigits after Play_Complete, which will
termCondDigit process the digits collected into the digit buffer as the Play command was
termCondDigit executing. Note that this termination condition is only valid if one is
termCondDigit playing to a ConnectionId.
termCondDigittermCondDigitList - A list of digits that will cause the play operation to terminate, if any
termCondDigitList one of the digits in the list is inputted. The list has no delimiters. If
termCondDigitList this condition is met, the Play command will result in the Play_Complete
termCondDigitList event with a TerminationCondition of digitlist. Note that this termination
termCondDigitList condition is only valid if one is playing to a ConnectionId.
termCondDigitListtermCondSilence - The amount of silence (in milliseconds) to observe before terminating the
termCondSilence Play operation. If this condition is met, the Play command will result in
termCondSilence the Play_Complete event with a TerminationCondition of silence.
termCondSilencetimeout - 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.
timeoutaudioFileSampleRate - 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 both have a higher impact on the media
audioFileSampleSize engine. If not specified, the media engine configuration file defines the
audioFileSampleSize sample size to use, which by default is 8.
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.
audioFileEncoding| 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[] getPrompts()
public void setPrompts(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 getState7()
public void setState7(java.lang.String value)
value - the value.public java.lang.Long getTermCondMaxTime()
public void setTermCondMaxTime(java.lang.Long value)
value - the value.public java.lang.Long getTermCondMaxDigits()
public void setTermCondMaxDigits(java.lang.Long value)
value - the value.public java.lang.String getTermCondDigit()
public void setTermCondDigit(java.lang.String value)
value - the value.public java.lang.String getTermCondDigitList()
public void setTermCondDigitList(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.Integer getTimeout()
public void setTimeout(java.lang.Integer 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||