public static interface InteractiveVoiceView.InteractiveVoiceListener
Modifier and Type | Method and Description |
---|---|
void |
dialogReadyForFulfillment(java.util.Map<java.lang.String,java.lang.String> slots,
java.lang.String intent)
Called when the dialog is complete and is ready for client side
fulfillment.
|
void |
onError(java.lang.String responseText,
java.lang.Exception e)
Called on encountering errors during a dialog.
|
void |
onResponse(Response response)
Called on receiving response from the Amazon Lex bot.
|
void dialogReadyForFulfillment(java.util.Map<java.lang.String,java.lang.String> slots, java.lang.String intent)
slots
- This contains the slots gathered by the Amazon Lex bot
in the dialog.intent
- This is the intent identified by the Amazon Lex bot,
from the dialog.void onResponse(Response response)
response
- The response from the Amazon Lex bot.void onError(java.lang.String responseText, java.lang.Exception e)
responseText
- The response from the Amazon Lex bot as text.e
- The exception for the error.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.