|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcisco.uc.cuae.legacy.MediaControl.RecordResult
public static class MediaControl.RecordResult
| Field Summary | |
|---|---|
java.lang.String |
connectionId
In the case of a Record to a connection, the value of the ConnectionId result data is the same as that specified as an action parameter. |
java.lang.Integer |
elapsedTime
The amount of time taken to perform the Record (in milliseconds). |
java.lang.String |
filename
The filename used to save the recording. |
java.lang.String |
operationId
A unique identifier to this Record operation. |
java.lang.String |
resultCode
A numeric code indicating the result status of the operation. |
CuaeCommon.CuaeResult |
returnValue
|
MediaControl.TerminationCondition |
terminationCondition
The condition which caused the Record to stop. |
java.lang.String |
url
The URL to the recorded audio file. |
| Constructor Summary | |
|---|---|
MediaControl.RecordResult()
Constructs the RecordResult. |
|
MediaControl.RecordResult(CuaeCommon.CuaeResult returnValue,
java.lang.String operationId,
java.lang.String url,
java.lang.String resultCode,
java.lang.String connectionId,
java.lang.String filename,
java.lang.Integer elapsedTime,
MediaControl.TerminationCondition terminationCondition)
Constructs the RecordResult. |
|
| Method Summary | |
|---|---|
java.lang.String |
getConnectionId()
Gets the value. |
java.lang.Integer |
getElapsedTime()
Gets the value. |
java.lang.String |
getFilename()
Gets the value. |
java.lang.String |
getOperationId()
Gets the value. |
java.lang.String |
getResultCode()
Gets the value. |
CuaeCommon.CuaeResult |
getReturnValue()
Gets the value. |
MediaControl.TerminationCondition |
getTerminationCondition()
Gets the value. |
java.lang.String |
getUrl()
Gets the value. |
void |
setConnectionId(java.lang.String value)
Sets the value. |
void |
setElapsedTime(java.lang.Integer value)
Sets the value. |
void |
setFilename(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 |
setTerminationCondition(MediaControl.TerminationCondition value)
Sets the value. |
void |
setUrl(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 url
public java.lang.String resultCode
public java.lang.String connectionId
public java.lang.String filename
public java.lang.Integer elapsedTime
public MediaControl.TerminationCondition terminationCondition
| Constructor Detail |
|---|
public MediaControl.RecordResult()
public MediaControl.RecordResult(CuaeCommon.CuaeResult returnValue,
java.lang.String operationId,
java.lang.String url,
java.lang.String resultCode,
java.lang.String connectionId,
java.lang.String filename,
java.lang.Integer elapsedTime,
MediaControl.TerminationCondition terminationCondition)
operationId - A unique identifier to this Record operation. This identifier can later
operationId be used by the StopMediaOperation action to stop just this particular
operationId operation on a connection, even if multiple media operations are
operationId concurrently executing on that connection. In the case that the Record
operationId was specified to a conference, there is no reason to store OperationId,
operationId since the ConnectionId returned as a result data will only ever have this
operationId Record action operating on it.
operationIdurl - The URL to the recorded audio file.
urlresultCode - 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 - In the case of a Record to a connection, the value of the ConnectionId
connectionId result data is the same as that specified as an action parameter. In the
connectionId case of a Record to a conference, the value of the ConnectionId result
connectionId data is the value of the new connection added to conference. In either
connectionId case, this ConnectionId is what one would later specify in
connectionId StopMediaOperation if one were to abort the command programmatically.
connectionIdfilename - The filename used to save the recording. The filename is relative to the
filename root of the media engine audio path.
filenameelapsedTime - The amount of time taken to perform the Record (in milliseconds).
elapsedTime
elapsedTime This is a parameter from asyncCallback event "Metreos.MediaControl.Record_Complete".terminationCondition - The condition which caused the Record to stop. Possible values for
terminationCondition termination condition are as follows:
terminationCondition
terminationCondition maxtime - The amount of time specified by TermCondMaxTime has elapsed (in
terminationCondition milliseconds).
terminationCondition digit - The digit specified by TermCondDigit has occurred.
terminationCondition silence - The amount of continuous silence specified by TermCondSilence
terminationCondition has elapsed (in milliseconds).
terminationCondition nonsilence - The amount of continuous non-silence specified by
terminationCondition TermCondNonSilence has elapsed (in milliseconds).
terminationCondition userstop - The StopMediaOperation was used on operation to abort it.
terminationCondition autostop - The Call Control API ended the operation due to the call
terminationCondition ending that was associated with the connection. The normal
terminationCondition reasons a call may end are Hangup or BlindTransfer.
terminationCondition timeout - The amount of time specified by CommandTimeout has elapsed (in
terminationCondition milliseconds).
terminationCondition
terminationCondition This is a parameter from asyncCallback event "Metreos.MediaControl.Record_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 getUrl()
public void setUrl(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 getFilename()
public void setFilename(java.lang.String value)
value - the value.public java.lang.Integer getElapsedTime()
public void setElapsedTime(java.lang.Integer value)
value - the value.public MediaControl.TerminationCondition getTerminationCondition()
public void setTerminationCondition(MediaControl.TerminationCondition value)
value - the value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||