question

newuser-f6f3e272-13ac-4f51-93d9-257d207840d9 avatar image

End Skill and show home screen after video ends

My skill starts playing an educational video after it has been launched but the skill doesn't show the home screen after the video ends. I set the sessionEnd to true in the LaunchRequest response but Amazon Alexa test is displayed after the video ends. I'm using APL document to play the video.


My response is structured as follows:

handlerInput.getResponseBuilder()
        .withSpeech("")
        .addDirective(documentDirective) //APL directive and json doc.
        .withShouldEndSession(true)
        .build();


Is there anything I'm missing which would end skill after video and show the home screen?

alexa skills kitalexaalexa smart homeapl
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