IPromptRecognizerResult interface
Result returned from an IPromptRecognizer.
- Extends
Properties
child |
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. |
prompt |
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
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