Package version:

interface RestRecognizeCompleted {
    callConnectionId?: string;
    choiceResult?: ChoiceResult;
    correlationId?: string;
    dtmfResult?: DtmfResult;
    operationContext?: string;
    recognitionType?: string;
    resultInformation?: RestResultInformation;
    serverCallId?: string;
    speechResult?: SpeechResult;
}

Properties

callConnectionId?: string

Call connection ID.

choiceResult?: ChoiceResult

Defines the result for RecognitionType = Choices

correlationId?: string

Correlation ID for event to call correlation. Also called ChainId for skype chain ID.

dtmfResult?: DtmfResult

Defines the result for RecognitionType = Dtmf

operationContext?: string

Used by customers when calling mid-call actions to correlate the request to the response event.

recognitionType?: string

Determines the sub-type of the recognize operation. In case of cancel operation the this field is not set and is returned empty

resultInformation?: RestResultInformation

Contains the resulting SIP code, sub-code and message.

serverCallId?: string

Server call ID.

speechResult?: SpeechResult

Defines the result for RecognitionType = Speech and SpeechOrDtmf NOTE: This property will not be serialized. It can only be populated by the server.