AlexaSkill

Abstract base class to inherit your skill from.

There are two ways to implement a alexa intent: * add a @CustomIntent annotation to a method in your skill class * create an intent class inheriting from BaseIntent and register it using addIntent

Constructors

this
this(AlexaText[] text)

constructor that requires the loca table as input

Members

Functions

addIntent
void addIntent(BaseIntent intent)

adds an intent handler

executeEvent
AlexaResult executeEvent(AlexaEvent event, AlexaContext context)
getText
string getText(int _key)

returns the localized text string depending on the loaded locale database

onLaunch
AlexaResult onLaunch(AlexaEvent , AlexaContext )

see https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/custom-standard-request-types-reference#launchrequest

onSessionEnd
void onSessionEnd(AlexaEvent , AlexaContext )

see https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/custom-standard-request-types-reference#sessionendedrequest

runInEventLoop
int runInEventLoop(AlexaEvent event, AlexaContext context, Duration timeout)

Inherited Members

From ITextManager

getText
string getText(int _key)

returns the localized text string depending on the loaded locale database

Meta