|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcisco.uc.cuae.legacy.MediaControl.VoiceRecognitionResult
public static class MediaControl.VoiceRecognitionResult
| Field Summary | |
|---|---|
java.lang.String |
connectionId
The value of the ConnectionId result data is the same as that specified as an action parameter. |
java.lang.String |
meaning
The top-match phrase recognized by Nuance OSR. |
java.lang.String |
operationId
A unique identifier to this VoiceRecognition operation. |
java.lang.String |
resultCode
A numeric code indicating the result status of the operation. |
CuaeCommon.CuaeResult |
returnValue
|
java.lang.Integer |
score
The confidence score of the Meaning. |
MediaControl.TerminationCondition |
terminationCondition
Describes the condition which caused the operation to complete. |
java.lang.String |
vR_XMLResult
The full recognition result in XML format of the action. |
| Constructor Summary | |
|---|---|
MediaControl.VoiceRecognitionResult()
Constructs the VoiceRecognitionResult. |
|
MediaControl.VoiceRecognitionResult(CuaeCommon.CuaeResult returnValue,
java.lang.String operationId,
java.lang.String resultCode,
java.lang.String connectionId,
java.lang.String meaning,
MediaControl.TerminationCondition terminationCondition,
java.lang.Integer score,
java.lang.String vR_XMLResult)
Constructs the VoiceRecognitionResult. |
|
| Method Summary | |
|---|---|
java.lang.String |
getConnectionId()
Gets the value. |
java.lang.String |
getMeaning()
Gets the value. |
java.lang.String |
getOperationId()
Gets the value. |
java.lang.String |
getResultCode()
Gets the value. |
CuaeCommon.CuaeResult |
getReturnValue()
Gets the value. |
java.lang.Integer |
getScore()
Gets the value. |
MediaControl.TerminationCondition |
getTerminationCondition()
Gets the value. |
java.lang.String |
getVR_XMLResult()
Gets the value. |
void |
setConnectionId(java.lang.String value)
Sets the value. |
void |
setMeaning(java.lang.String value)
Sets the value. |
void |
setOperationId(java.lang.String value)
Sets the value. |
void |
setResultCode(java.lang.String value)
Sets the value. |
void |
setReturnValue(CuaeCommon.CuaeResult value)
Sets the value. |
void |
setScore(java.lang.Integer value)
Sets the value. |
void |
setTerminationCondition(MediaControl.TerminationCondition value)
Sets the value. |
void |
setVR_XMLResult(java.lang.String 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 CuaeCommon.CuaeResult returnValue
public java.lang.String operationId
public java.lang.String resultCode
public java.lang.String connectionId
public java.lang.String meaning
public MediaControl.TerminationCondition terminationCondition
public java.lang.Integer score
public java.lang.String vR_XMLResult
| Constructor Detail |
|---|
public MediaControl.VoiceRecognitionResult()
public MediaControl.VoiceRecognitionResult(CuaeCommon.CuaeResult returnValue,
java.lang.String operationId,
java.lang.String resultCode,
java.lang.String connectionId,
java.lang.String meaning,
MediaControl.TerminationCondition terminationCondition,
java.lang.Integer score,
java.lang.String vR_XMLResult)
operationId - A unique identifier to this VoiceRecognition operation. This identifier
operationId can later be used by the StopMediaOperation action to stop just this
operationId particular operation on a connection, even if multiple media operations
operationId are concurrently executing on that connection.
operationIdresultCode - A numeric code indicating the result status of the operation. A '0'
resultCode indicates success; a positive number indicates an error. Please reference
resultCode the Media Control Error Codes table for descriptions on specific error
resultCode codes.
resultCodeconnectionId - The value of the ConnectionId result data is the same as that specified
connectionId as an action parameter. This ConnectionId is what one would later specify
connectionId in StopMediaOperation if one were to abort the command programmatically.
connectionIdmeaning - The top-match phrase recognized by Nuance OSR.
meaning
meaning This is a parameter from asyncCallback event "Metreos.MediaControl.VoiceRecognition_Complete".terminationCondition - Describes the condition which caused the operation to complete.
terminationCondition
terminationCondition This is a parameter from asyncCallback event "Metreos.MediaControl.VoiceRecognition_Complete".score - The confidence score of the Meaning. The value can be between 0 - 1000.
score With VR_XMLResult, scores can be between 0 - 100.
score
score This is a parameter from asyncCallback event "Metreos.MediaControl.VoiceRecognition_Complete".vR_XMLResult - The full recognition result in XML format of the action. All scores and
vR_XMLResult meanings are returned in this XML content. To help parse through the full
vR_XMLResult result data, a number of helper actions exist:
vR_XMLResult
vR_XMLResult null - Returns the number of matching results.
vR_XMLResult null - Returns the score and meaning of a result at a specified index.
vR_XMLResult null - Returns any results matching the specified string matching
vR_XMLResult criteria for meaning.
vR_XMLResult null - Returns any results matching the specified criteria for scores.
vR_XMLResult null - Allows one to specify user-defined XPath expressions to allow
vR_XMLResult custom parsing of the results.
vR_XMLResult
vR_XMLResult Each of the VoiceRecResult methods take the XML content as a
vR_XMLResult VoiceRecResultList, so in general one should create a local variable of
vR_XMLResult type VoiceRecResultList initialized with this action parameter. The
vR_XMLResult XmlQuery action takes the XML content as a String, so if you intend to use
vR_XMLResult the XmlQuery action, you should make a String variable that initializes
vR_XMLResult with this action parameter. It is also valid to have two variables of
vR_XMLResult different types that both initialize with the same action parameter.
vR_XMLResult
vR_XMLResult This is a parameter from asyncCallback event "Metreos.MediaControl.VoiceRecognition_Complete".| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic CuaeCommon.CuaeResult getReturnValue()
public void setReturnValue(CuaeCommon.CuaeResult value)
value - the value.public java.lang.String getOperationId()
public void setOperationId(java.lang.String value)
value - the value.public java.lang.String getResultCode()
public void setResultCode(java.lang.String value)
value - the value.public java.lang.String getConnectionId()
public void setConnectionId(java.lang.String value)
value - the value.public java.lang.String getMeaning()
public void setMeaning(java.lang.String value)
value - the value.public MediaControl.TerminationCondition getTerminationCondition()
public void setTerminationCondition(MediaControl.TerminationCondition value)
value - the value.public java.lang.Integer getScore()
public void setScore(java.lang.Integer value)
value - the value.public java.lang.String getVR_XMLResult()
public void setVR_XMLResult(java.lang.String value)
value - the value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||