AlexaSkill.prototype.eventHandlers = {
OnSessionStarted: function(sessionStartedRequest, session){
},
OnLaunch: function(launchRequest, session, response){
throw: "OnLaunch should be overriden by subclass";
},
OnIntent: function(intentRequest, session, response){
var intent = intentRequest.intent,
intentName = intenRequest.intent.name,
intentHandler = this.intentHandler(intentName);
if (intentHandler){
console.log('dispatch intent =' + intenRequest);
intentHandl.ercall(this,intent, session,session);
} else {
throw 'Unsupported intent =' + intenName;
}
},
OnSessionEnded: function(sessionEndedRequest,session){
}
};
Still trying to Figure out what thus this OnIntent do in this event Handler;
thus it does (In Session)," Alexa, ask Invocation, then utterance" (just confuse
that you have to Ask Alexa again(launching?) session your Awaking Alexa again)
or is it just the Three routes in the Story Skill (Path one, Path two, Path three)
also I did Delete it and try to see if it Work's and it doesn't
Be Blessed and Much love
KC.D