Tanya Gupta avatar image
Tanya Gupta asked

What is the best practice for ending session when ImageList is used?

For an ImageList typical behavior with speaklist is that the items are read out. However it just stops on the last item. It would be nice to wrap up the session explicitly. What would be the best way to handle this?

const s_directive = {
            type: 'Alexa.Presentation.APL.RenderDocument',
            version: '1.0',
            document: mydocument,
            datasources: data_set

          const s_response =  handlerInput.responseBuilder
              .reprompt('Would you like some more?')

          return s_response.getResponse()

The APL document has the data specifics and the "onMount"

aplalexa skills
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers