I have a working gadget plus an Alexa skill with both Alex->Gadget directives, and Gadget->Alexa events.
Everything is working, no errors, and I am able to receive Events in my CustomInterfaceEventHandler. Once I unpack the payload of the event, I would like to launch an intent as if the user had said the invocation work.
Example 'TestSkill' flow:
TestSkill has LaunchIntent, and utterance of "go" launches "GoIntent"
User launches skill "Alexa, open TestSkill"
'TestSkill' launches, endpoint of gadget is stored. Alexa responds 'Gadget ready'
User presses button on gadget and event payload string 'GO' is sent to Skill
CustomInterfaceEventHandler handles the event, payload is unpacked, payload=='GO'. GoIntent should be launched
How can I create an IntentRequest from my CustomInterfaceEventHandler?