RecognizeCompleted interface
Event when Media recognize was successfully completed.
- Extends
-
Omit<RestRecognizeCompleted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation">
Properties
| call |
Call connection ID. |
| correlation |
Correlation ID for event to call correlation. Also called ChainId for skype chain ID. |
| kind | kind of this event. |
| result |
Contains the resulting SIP code/sub-code and message from NGC services. |
| server |
Server call ID. |
Inherited Properties
| choice |
Defines the result for RecognitionType = Choices |
| dtmf |
Defines the result for RecognitionType = Dtmf |
| operation |
Used by customers when calling mid-call actions to correlate the request to the response event. |
| recognition |
Determines the sub-type of the recognize operation. In case of cancel operation the this field is not set and is returned empty |
| speech |
Defines the result for RecognitionType = Speech and SpeechOrDtmf NOTE: This property will not be serialized. It can only be populated by the server. |
Property Details
callConnectionId
Call connection ID.
callConnectionId: string
Property Value
string
correlationId
Correlation ID for event to call correlation. Also called ChainId for skype chain ID.
correlationId: string
Property Value
string
kind
kind of this event.
kind: "RecognizeCompleted"
Property Value
"RecognizeCompleted"
resultInformation
Contains the resulting SIP code/sub-code and message from NGC services.
resultInformation?: ResultInformation
Property Value
serverCallId
Server call ID.
serverCallId: string
Property Value
string
Inherited Property Details
choiceResult
Defines the result for RecognitionType = Choices
choiceResult?: ChoiceResult
Property Value
Inherited From Omit.choiceResult
dtmfResult
Defines the result for RecognitionType = Dtmf
dtmfResult?: DtmfResult
Property Value
Inherited From Omit.dtmfResult
operationContext
Used by customers when calling mid-call actions to correlate the request to the response event.
operationContext?: string
Property Value
string
Inherited From Omit.operationContext
recognitionType
Determines the sub-type of the recognize operation. In case of cancel operation the this field is not set and is returned empty
recognitionType?: string
Property Value
string
Inherited From Omit.recognitionType
speechResult
Defines the result for RecognitionType = Speech and SpeechOrDtmf NOTE: This property will not be serialized. It can only be populated by the server.
speechResult?: SpeechResult
Property Value
Inherited From Omit.speechResult