IPromptRecognizerResult interface

Result returned from an IPromptRecognizer.

Extends

Properties

childId

ID of the child dialog thats ending.

error

If an error occurred the child dialog can return the error to the parent.

handled

Returned from a prompt recognizer to indicate that a parent dialog handled (or captured) the utterance.

promptType

Type of prompt completing.

response

The users response.

resumed

The reason why the current dialog is being resumed. Defaults to ResumeReason.completed.

Property Details

childId

ID of the child dialog thats ending.

childId?: string

Property Value

string

error

If an error occurred the child dialog can return the error to the parent.

error?: Error

Property Value

Error

handled

Returned from a prompt recognizer to indicate that a parent dialog handled (or captured) the utterance.

handled?: boolean

Property Value

boolean

promptType

Type of prompt completing.

promptType?: PromptType

Property Value

response

The users response.

response?: T

Property Value

T

resumed

The reason why the current dialog is being resumed. Defaults to ResumeReason.completed.

resumed?: ResumeReason

Property Value