public interface InteractionListener
Modifier and Type | Method and Description |
---|---|
void |
onInteractionError(Response response,
java.lang.Exception e)
This method is invoked on error.
|
void |
onReadyForFulfillment(Response response)
This is invoked when all information required to fulfill a transaction
has been recovered.
|
void |
promptUserToRespond(Response response,
LexServiceContinuation continuation)
This is invoked when input is required from the user.
|
void onReadyForFulfillment(Response response)
response
- Response
, contains the service
response.void promptUserToRespond(Response response, LexServiceContinuation continuation)
response
- Response
, contains the service
response.continuation
- LexServiceContinuation
, allows to
continue with the current transaction.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.