kevin-mitchell / alexa-app

Set of classes to make creating Amazon Alexa Skills Kit (ASK) applications easier with Laravel and Lumen
MIT License
97 stars 47 forks source link

PlaybackController Events #52

Open Banquo1 opened 6 years ago

Banquo1 commented 6 years ago

Echo Show or Echo Spot provides a touch Interface. If you stream an audio stream you can control the playback with touch events, e.g. "PlaybackController.NextCommandIssued" if you touch the next Button.

https://developer.amazon.com/de/docs/alexa-voice-service/playbackcontroller.html

There is no way to listen for this, because this is no intent / audioPlayer / launch event. And if you don't handle this Amazon gives you a "INVALID_RESPONSE" response.

Is it possible to make a route like "AlexaRoute::playback()" for this purpose? Or maybe a general function to add Alexa routes for the future (addAlexaRoute() is protected).

Thanks Jörg