Module Alexa

Index

Type aliases

ErrorCode

ErrorCode: "no-such-version" | "unauthorized-access" | "too-many-requests" | "unknown"
export
interface

ErrorCode

MessageActions

MessageActions: "alexa-html-ready" | "message-to-html" | "tts-started" | "tts-stopped" | "mic-event" | "mic-requested-event" | "memory-available"

Messages - These are all the HTML to Device Message Definitions

MicrophoneOpenedError

MicrophoneOpenedError: "microphone-already-open" | "request-open-unsupported" | "too-many-requests" | "unknown"

MicrophoneOpenedError - These are all the values the error could be

Variables

Const utils

utils: Utils

Functions

create

  • Asynchronously creates an Alexa Client.

    Returns a promise which is fulfilled with AlexaReadyPayload or rejected with an ErrorWithCode.

    Takes an optional [[Options]] where you can override the option defaults.

    If a version isn't provided it will default to the latest API. This can only be called once per page.

    export

    Parameters

    Returns Promise<AlexaReadyPayload | ErrorWithCode>

2019, Amazon.com, Inc. or its affiliates. All Rights Reserved.