Constructors
constructor
- new SkillContext(interactionModel: InteractionModel, audioPlayer: AudioPlayer, _locale: string, _applicationID?: string): SkillContext
-
Parameters
-
interactionModel: InteractionModel
-
-
_locale: string
-
Optional _applicationID: string
Methods
interactionModel
- interactionModel(): InteractionModel
setAccessToken
- setAccessToken(token: string): void
Manages state of the Alexa device interaction across sessions.
Holds information about the user, the current session, as well as the AudioPlayer, if in use.
To emulate a user with a linked account, set the access token property.